Class: Hash

Inherits:
Object show all
Defined in:
lib/ostructer.rb

Instance Method Summary collapse

Instance Method Details

#to_openstruct_pass1(logger) ⇒ Object



348
349
350
351
352
# File 'lib/ostructer.rb', line 348

def to_openstruct_pass1( logger )
  mapped = {}
  each{ |key,value | mapped[key.to_s] = value.to_openstruct_pass1( logger ) }
  Ostructer::OsOpenStruct.new( mapped, logger )
end