Class: LogSnag::Log
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- LogSnag::Log
- Defined in:
- lib/log_snag/log.rb
Instance Method Summary collapse
-
#initialize(attributes) ⇒ Log
constructor
A new instance of Log.
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 |