lib/hashie/mash.rb
# Retrieves an attribute set in the Mash. Will convert
# any key passed in to a string before retrieving.
Retrieves an attribute set in the Mash. Will convert
any key passed in to a string before retrieving.
Retrieves an attribute set in the Mash . Will convert any key passed in to a string before retrieving .
def custom_reader(key)
      value = regular_reader(key)
      yield value if block_given?
      value
    end
def custom_reader ( key ) value = regular_reader ( key ) yield value if block_given? value end
Retrieves an attribute set in the Mash.
Retrieves an attribute set in the Mash .
key
<not_specific>