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.
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 |