Class: Rmpd::Command::List

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/rmpd/command.rb

Instance Method Summary collapse

Constructor Details

#initializeList

Returns a new instance of List.



170
171
172
# File 'lib/rmpd/command.rb', line 170

def initialize
  @cmds = []
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args, &block) ⇒ Object (protected)



177
178
179
# File 'lib/rmpd/command.rb', line 177

def method_missing(name, *args, &block)
  @cmds << [name.to_s, *args]
end