Class: Ironfan::Dsl::RunListItem

Inherits:
Hash
  • Object
show all
Defined in:
lib/ironfan/dsl/compute.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.receive(hsh) ⇒ Object


11
12
13
# File 'lib/ironfan/dsl/compute.rb', line 11

def self.receive(hsh)
  new.merge!(hsh.symbolize_keys)
end

Instance Method Details

#nameObject


8
9
10
# File 'lib/ironfan/dsl/compute.rb', line 8

def name
  self[:name]
end