Class: ColorPair

Inherits:
Struct
  • Object
show all
Defined in:
lib/nub/core.rb

Instance Attribute Summary collapse

Instance Attribute Details

#color_codeObject

Returns the value of attribute color_code

Returns:

  • (Object)

    the current value of color_code



25
26
27
# File 'lib/nub/core.rb', line 25

def color_code
  @color_code
end

#color_nameObject

Returns the value of attribute color_name

Returns:

  • (Object)

    the current value of color_name



25
26
27
# File 'lib/nub/core.rb', line 25

def color_name
  @color_name
end

#strObject

Returns the value of attribute str

Returns:

  • (Object)

    the current value of str



25
26
27
# File 'lib/nub/core.rb', line 25

def str
  @str
end