Next: , Previous: AbstractNamespace-namespace hierarchy, Up: AbstractNamespace


1.1.6 AbstractNamespace: overrides for superspaces

inheritedKeys
Answer a Set of all the keys in the receiver and its superspaces


set: key to: newValue
Assign newValue to the variable named as specified by `key'. This method won't define a new variable; instead if the key is not found it will search in superspaces and raising an error if the variable cannot be found in any of the superspaces. Answer newValue.


set: key to: newValue ifAbsent: aBlock
Assign newValue to the variable named as specified by `key'. This method won't define a new variable; instead if the key is not found it will search in superspaces and evaluate aBlock if it is not found. Answer newValue.


values
Answer a Bag containing the values of the receiver