Class: Trailblazer::Developer::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/trailblazer/developer/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_mapObject (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