Class: Grueserve::Client::Command
- Inherits:
-
Object
- Object
- Grueserve::Client::Command
- Defined in:
- lib/grueserve/client.rb
Instance Method Summary collapse
-
#initialize(node) ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize(node) ⇒ Command
Returns a new instance of Command.
29 30 31 32 33 34 |
# File 'lib/grueserve/client.rb', line 29 def initialize(node) self.name = node.name node.each_attr do |attribute| self[attribute.name] = attribute.value end end |