Class: Grueserve::Client::CommandSet
- Inherits:
-
Object
- Object
- Grueserve::Client::CommandSet
- Defined in:
- lib/grueserve/client.rb
Instance Method Summary collapse
-
#initialize(node = nil) ⇒ CommandSet
constructor
A new instance of CommandSet.
Constructor Details
#initialize(node = nil) ⇒ CommandSet
Returns a new instance of CommandSet.
38 39 40 41 42 43 44 |
# File 'lib/grueserve/client.rb', line 38 def initialize(node = nil) unless node.nil? node.each_child do |child| self << Command.new(child) end end end |