Class: Logsly::Settings
- Inherits:
-
Object
- Object
- Logsly::Settings
- Defined in:
- lib/logsly.rb
Instance Attribute Summary collapse
-
#colors ⇒ Object
readonly
Returns the value of attribute colors.
-
#outputs ⇒ Object
readonly
Returns the value of attribute outputs.
Instance Method Summary collapse
-
#initialize ⇒ Settings
constructor
A new instance of Settings.
Constructor Details
#initialize ⇒ Settings
Returns a new instance of Settings.
132 133 134 135 |
# File 'lib/logsly.rb', line 132 def initialize @colors = ::Hash.new(NullColors.new) @outputs = ::Hash.new(Outputs::Null.new) end |
Instance Attribute Details
#colors ⇒ Object (readonly)
Returns the value of attribute colors.
130 131 132 |
# File 'lib/logsly.rb', line 130 def colors @colors end |
#outputs ⇒ Object (readonly)
Returns the value of attribute outputs.
130 131 132 |
# File 'lib/logsly.rb', line 130 def outputs @outputs end |