class Hash::Nested

Public Instance Methods

[](key) click to toggle source
Calls superclass method
# File lib/hash_ext/nested.rb, line 6
def [](key)
  if key? key
    super(key)
  else
    self[key] = Nested.new
  end
end