Class: Trailblazer::Developer::Config
- Inherits:
-
Object
- Object
- Trailblazer::Developer::Config
- Defined in:
- lib/trailblazer/developer/config.rb
Instance Attribute Summary collapse
-
#trace_color_map ⇒ Object
readonly
Returns the value of attribute trace_color_map.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
21 22 23 24 25 26 27 28 |
# File 'lib/trailblazer/developer/config.rb', line 21 def initialize @trace_color_map = { Trailblazer::Activity::Right => :green, Trailblazer::Activity::Left => :brown } @trace_color_map.default = :green end |
Instance Attribute Details
#trace_color_map ⇒ Object (readonly)
Returns the value of attribute trace_color_map.
19 20 21 |
# File 'lib/trailblazer/developer/config.rb', line 19 def trace_color_map @trace_color_map end |