Class: Grifork::Config::Log
- Inherits:
-
Object
- Object
- Grifork::Config::Log
- Defined in:
- lib/grifork/config.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
Instance Method Summary collapse
-
#initialize(args) ⇒ Log
constructor
A new instance of Log.
Constructor Details
#initialize(args) ⇒ Log
Returns a new instance of Log.
18 19 20 21 |
# File 'lib/grifork/config.rb', line 18 def initialize(args) @file = args[:file] @level = args[:level] || 'info' end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
16 17 18 |
# File 'lib/grifork/config.rb', line 16 def file @file end |