class Colours::Eparse

#

Colours::Eparse

This is mostly a helper-class. It is not really in use, but it exists so that other classes can query the colour definitions, stored as constants, and methods, respectively.

#

Constants

FIRST_COLOUR
#

Colours::Eparse::FIRST_COLOUR

#
SECOND_COLOUR
#

Colours::Eparse::SECOND_COLOUR

#

Public Class Methods

colour_left(i = '') click to toggle source
#

Colours::Eparse.colour_left

#
# File lib/colours/eparse/eparse.rb, line 34
def self.colour_left(i = '')
  return "#{FIRST_COLOUR}#{i}#{REVERT}"
end
colour_right(i = '') click to toggle source
#

Colours::Eparse.colour_right

#
# File lib/colours/eparse/eparse.rb, line 41
def self.colour_right(i = '')
  return "#{SECOND_COLOUR}#{i}#{REVERT}"
end