Class: Properties
- Inherits:
-
Hash
- Object
- Hash
- Properties
- Defined in:
- lib/src-generic/extended/Properties.rb
Overview
Extending Ruby Hash clash in order to testing PropertiesTools and others classes with Properties java clash involved
Instance Method Summary collapse
-
#initialize ⇒ Properties
constructor
A new instance of Properties.
-
#put(key, value) ⇒ Object
p instance_eval.
Constructor Details
#initialize ⇒ Properties
Returns a new instance of Properties.
6 7 8 |
# File 'lib/src-generic/extended/Properties.rb', line 6 def initialize # p instance_eval end |
Instance Method Details
#put(key, value) ⇒ Object
p instance_eval
9 10 11 |
# File 'lib/src-generic/extended/Properties.rb', line 9 def put(key, value) self[key]=value end |