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.
119 120 121 122 |
# File 'lib/logsly.rb', line 119 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.
117 118 119 |
# File 'lib/logsly.rb', line 117 def colors @colors end |
#outputs ⇒ Object (readonly)
Returns the value of attribute outputs.
117 118 119 |
# File 'lib/logsly.rb', line 117 def outputs @outputs end |