Class: LogSnag::Log

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/log_snag/log.rb

Instance Method Summary collapse

Constructor Details

#initialize(attributes) ⇒ Log

Returns a new instance of Log.



6
7
8
# File 'lib/log_snag/log.rb', line 6

def initialize(attributes)
  super OpenStruct.new(attributes)
end