Method: AMQP::Protocol::Class::Method#arguments
- Defined in:
- lib/amqp/protocol.rb
#arguments ⇒ Object
27 28 29 30 31 |
# File 'lib/amqp/protocol.rb', line 27 def arguments self.class.arguments.inject({}) do |hash, (type, name)| hash.update name => instance_variable_get("@#{name}") end end |