Class: ParameterDictionary
- Inherits:
-
Object
- Object
- ParameterDictionary
- Defined in:
- lib/rimageanalysistools/create_parameters.rb
Instance Method Summary collapse
-
#[](key) ⇒ String
Adds hash-like getter access to ParameterDictionary objects.
-
#[]=(key, value) ⇒ void
Adds hash-like setter access to ParameterDictionary objects.
Instance Method Details
#[](key) ⇒ String
Adds hash-like getter access to ParameterDictionary objects
40 41 42 |
# File 'lib/rimageanalysistools/create_parameters.rb', line 40 def [](key) getValueForKey(key.to_s) end |
#[]=(key, value) ⇒ void
This method returns an undefined value.
Adds hash-like setter access to ParameterDictionary objects
52 53 54 |
# File 'lib/rimageanalysistools/create_parameters.rb', line 52 def []=(key, value) setValueForKey(key.to_s, value.to_s) end |