Class: Mutils::Lib::ResultHash
- Inherits:
-
Object
- Object
- Mutils::Lib::ResultHash
- Defined in:
- lib/mutils/lib/result_hash.rb
Overview
ResultHash: Store result using this class.
Instance Method Summary collapse
- #[]=(key, value) ⇒ Object
- #hash ⇒ Object
-
#initialize ⇒ ResultHash
constructor
A new instance of ResultHash.
Constructor Details
#initialize ⇒ ResultHash
Returns a new instance of ResultHash.
8 9 10 |
# File 'lib/mutils/lib/result_hash.rb', line 8 def initialize self._hash = {} end |
Instance Method Details
#[]=(key, value) ⇒ Object
12 13 14 |
# File 'lib/mutils/lib/result_hash.rb', line 12 def []=(key, value) _hash[key] = value end |
#hash ⇒ Object
16 17 18 |
# File 'lib/mutils/lib/result_hash.rb', line 16 def hash _hash end |