Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deprecation warning about =~ being called on TrueClass.
With the code as it was, it will generate a warning like such: .../websocket-extensions-0.1.3/lib/websocket/extensions/parser.rb:41: warning: deprecated Object#=~ is called on TrueClass; it always returns nil So we will avoid if the variable is TrueClass.
- Loading branch information