738a0af1dd
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.