Class: Glark::ColorSpec
- Inherits:
-
Object
- Object
- Glark::ColorSpec
- Defined in:
- lib/glark/util/colors/spec.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#file_name_color ⇒ Object
Returns the value of attribute file_name_color.
-
#line_number_color ⇒ Object
Returns the value of attribute line_number_color.
-
#text_colors ⇒ Object
Returns the value of attribute text_colors.
Instance Method Summary collapse
-
#initialize ⇒ ColorSpec
constructor
A new instance of ColorSpec.
Constructor Details
#initialize ⇒ ColorSpec
Returns a new instance of ColorSpec.
10 11 12 13 14 |
# File 'lib/glark/util/colors/spec.rb', line 10 def initialize @text_colors = Array.new @file_name_color = nil @line_number_color = nil end |
Instance Attribute Details
#file_name_color ⇒ Object
Returns the value of attribute file_name_color.
7 8 9 |
# File 'lib/glark/util/colors/spec.rb', line 7 def file_name_color @file_name_color end |
#line_number_color ⇒ Object
Returns the value of attribute line_number_color.
8 9 10 |
# File 'lib/glark/util/colors/spec.rb', line 8 def line_number_color @line_number_color end |
#text_colors ⇒ Object
Returns the value of attribute text_colors.
6 7 8 |
# File 'lib/glark/util/colors/spec.rb', line 6 def text_colors @text_colors end |