Class: Glark::ColorSpec

Inherits:
Object
  • Object
show all
Defined in:
lib/glark/util/colors/spec.rb

Direct Known Subclasses

ColorOptions

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeColorSpec

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_colorObject

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_colorObject

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_colorsObject

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