Class: OpenStruct

Inherits:
Object show all
Defined in:
lib/nrser/core_ext/open_struct.rb

Class Method Summary collapse

Class Method Details

.from_h(hash, freeze: false) ⇒ Object



3
4
5
# File 'lib/nrser/core_ext/open_struct.rb', line 3

def self.from_h hash, freeze: false
  NRSER.to_open_struct hash, freeze: freeze
end