Class: OpenStruct

Inherits:
Object
  • Object
show all
Defined in:
lib/cloud/sh.rb

Instance Method Summary collapse

Instance Method Details

#merge(other) ⇒ Object



46
47
48
49
50
# File 'lib/cloud/sh.rb', line 46

def merge(other)
  other.each_pair do |k, v|
    self[k] = v
  end
end