lib/submodules/ably-ruby/lib/ably/realtime/connection/websocket_transport.rb in ably-rest-1.0.5 vs lib/submodules/ably-ruby/lib/ably/realtime/connection/websocket_transport.rb in ably-rest-1.0.6
- old
+ new
@@ -206,10 +206,10 @@
end
end
def create_pub_sub_message_bus
Ably::Util::PubSub.new(
- coerce_into: Proc.new do |event|
+ coerce_into: lambda do |event|
raise KeyError, "Expected :protocol_message, :#{event} is disallowed" unless event == :protocol_message
:protocol_message
end
)
end