Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/config-hash.rb

Direct Known Subclasses

ConfigHash, NormalHash

Instance Method Summary collapse

Instance Method Details

#+@Object



7
8
9
# File 'lib/config-hash.rb', line 7

def +@
  ConfigHash.new(self)
end

#-@Object



4
5
6
# File 'lib/config-hash.rb', line 4

def -@
  NormalHash.new.merge!(self)
end