class Hash

Extends Hash with functionality from Aha::AugmentedHash.

Methods are implemented by delegating to AugmentedHash on an individual method basis. Using module methods as opposed to a mixing in a module is preferrable as it allows us to include functionality in a piecemeal manner if necessary and supports minimal changes to the core Hash class.

For more information see Aha::AugmentedHash.

Public Instance Methods

delete_in!(*keys) click to toggle source
# File lib/aha.rb, line 29
def delete_in!(*keys)
  Aha::AugmentedHash::delete_in!(self, *keys)
end
exclude!(*keys) click to toggle source
# File lib/aha.rb, line 33
def exclude!(*keys)
  Aha::AugmentedHash::exclude!(self, *keys)
end
get_in(*keys) click to toggle source
# File lib/aha.rb, line 17
def get_in(*keys)
  Aha::AugmentedHash::get_in(self, *keys)
end
only(*keys) click to toggle source
# File lib/aha.rb, line 37
def only(*keys)
  Aha::AugmentedHash::only(self, *keys)
end
put_in!(*args) click to toggle source
# File lib/aha.rb, line 21
def put_in!(*args)
  Aha::AugmentedHash::put_in!(self, *args)
end
update_in!(*keys, &block) click to toggle source
# File lib/aha.rb, line 25
def update_in!(*keys, &block)
  Aha::AugmentedHash::update_in!(self, *keys, &block)
end
vals_at(*keys) click to toggle source
# File lib/aha.rb, line 13
def vals_at(*keys)
  Aha::AugmentedHash::vals_at(self, *keys)
end