Class InheritingDict

A safe and simple inheriting object.

Show:

Module: ember
callback
Function
binding
Object

Iterate and invoke a callback for each local key-value pair.

Module: ember
returns
Any

Retrieve the value given a key, if the value is present at the current level use it, otherwise walk up the parent hierarchy and try again. If no matching key is found, return undefined.

Module: ember
key
String
returns
Boolean

Check for the existence of given a key, if the key is present at the current level return true, otherwise walk up the parent hierarchy and try again. If no matching key is found, return false.

Module: ember
key
String

Delete the given key

Module: ember
key
String
value
Any

Set the given value for the given key, at the current level.