Class: Pears::Provider::Hash

Inherits:
Base
  • Object
show all
Defined in:
lib/pears/provider/hash.rb

Instance Attribute Summary

Attributes inherited from Base

#data

Instance Method Summary collapse

Methods inherited from Base

#[], #each, #has_key?, #purge

Constructor Details

#initialize(hash) ⇒ Hash

Returns a new instance of Hash.



4
5
6
# File 'lib/pears/provider/hash.rb', line 4

def initialize(hash)
  @data = hash
end