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.
47 48 49 50 |
# File 'lib/grifork/config.rb', line 47 def initialize(args) @file = args[:file] @level = args[:level] || 'info' end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
45 46 47 |
# File 'lib/grifork/config.rb', line 45 def file @file end |