Module: Visor::Common::Extensions::Object

Defined in:
lib/common/extensions/object.rb

Overview

Extending Object class

Instance Method Summary collapse

Instance Method Details

#to_openstructself

Pass from Hash.to_openstruct

Returns:

  • (self)

    The object itself.



17
18
19
# File 'lib/common/extensions/object.rb', line 17

def to_openstruct
  self
end