Module: YAML

Defined in:
lib/ext/hash_to_openstruct.rb

Class Method Summary collapse

Class Method Details

.load_openstruct(source) ⇒ Object



25
26
27
# File 'lib/ext/hash_to_openstruct.rb', line 25

def self.load_openstruct(source)
  self.load(source).to_openstruct
end