Class: Spoom::Coverage::D3::ColorPalette

Inherits:
Object
  • Object
show all
Defined in:
lib/spoom/coverage/d3.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ignore_color:, false_color:, true_color:, strict_color:, strong_color:) ⇒ ColorPalette

: ( | ignore_color: String, | false_color: String, | true_color: String, | strict_color: String, | strong_color: String | ) -> void



124
125
126
127
128
129
130
# File 'lib/spoom/coverage/d3.rb', line 124

def initialize(ignore_color:, false_color:, true_color:, strict_color:, strong_color:)
  @ignore_color = ignore_color
  @false_color = false_color
  @true_color = true_color
  @strict_color = strict_color
  @strong_color = strong_color
end

Instance Attribute Details

#false_color ⇒ Object

: String



106
107
108
# File 'lib/spoom/coverage/d3.rb', line 106

def false_color
  @false_color
end

#ignore_color ⇒ Object

: String



103
104
105
# File 'lib/spoom/coverage/d3.rb', line 103

def ignore_color
  @ignore_color
end

#strict_color ⇒ Object

: String



112
113
114
# File 'lib/spoom/coverage/d3.rb', line 112

def strict_color
  @strict_color
end

#strong_color ⇒ Object

: String



115
116
117
# File 'lib/spoom/coverage/d3.rb', line 115

def strong_color
  @strong_color
end

#true_color ⇒ Object

: String



109
110
111
# File 'lib/spoom/coverage/d3.rb', line 109

def true_color
  @true_color
end