lib/amqp/frame.rb in celldee-bunny-0.0.5 vs lib/amqp/frame.rb in celldee-bunny-0.0.6

- old
+ new

@@ -27,11 +27,9 @@ [ :id, :channel, :payload ].inject(true) do |eql, field| eql and __send__(field) == frame.__send__(field) end end - class Invalid < StandardError; end - class Method def initialize payload = nil, channel = 0 super unless @payload.is_a? Protocol::Class::Method or @payload.nil? @payload = Protocol.parse(@payload) \ No newline at end of file