lib/onstomp/connections/stomp_1_0.rb in onstomp-1.0.0 vs lib/onstomp/connections/stomp_1_0.rb in onstomp-1.0.1

- old
+ new

@@ -13,10 +13,10 @@ def initialize socket, client super @serializer = OnStomp::Connections::Serializers::Stomp_1_0.new end - # Creates a SUBSCRIBE frame. Sets +ack+ header to 'auto' unless it is + # Creates a SUBSCRIBE frame. Sets `ack` header to 'auto' unless it is # already set to 'client'. # @return [OnStomp::Components::Frame] SUBSCRIBE frame def subscribe_frame d, h h[:ack] = 'auto' unless h[:ack] == 'client' create_frame 'SUBSCRIBE', [{:id => OnStomp.next_serial}, h, {:destination => d}]