Method: Nestling::Hash#initialize
- Defined in:
- lib/nestling/hash.rb
#initialize(hash = nil, *args) ⇒ Hash
Returns a new instance of Hash.
3 4 5 6 |
# File 'lib/nestling/hash.rb', line 3 def initialize(hash = nil, *args) self.merge!(hash) if hash super *args end |