Method: OpenHash#initialize
- Defined in:
- lib/openhash/openhash.rb
#initialize(hash = {}) ⇒ OpenHash
Returns a new instance of OpenHash.
3 4 5 6 |
# File 'lib/openhash/openhash.rb', line 3 def initialize(hash = {}) super() update(hash) end |