Class: Grueserve::Client::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/grueserve/client.rb

Instance Method Summary collapse

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