Class: Rmpd::Command::List
- Inherits:
-
Object
- Object
- Rmpd::Command::List
- Extended by:
- Forwardable
- Defined in:
- lib/rmpd/command.rb
Instance Method Summary collapse
-
#initialize ⇒ List
constructor
A new instance of List.
Constructor Details
#initialize ⇒ List
Returns a new instance of List.
196 197 198 |
# File 'lib/rmpd/command.rb', line 196 def initialize @cmds = [] end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, &block) ⇒ Object (protected)
203 204 205 |
# File 'lib/rmpd/command.rb', line 203 def method_missing(name, *args, &block) @cmds << [name.to_s, *args] end |