Class: Textbringer::Color::RGBColor
- Inherits:
-
Struct
- Object
- Struct
- Textbringer::Color::RGBColor
- Defined in:
- lib/textbringer/color.rb
Instance Attribute Summary collapse
-
#b ⇒ Object
Returns the value of attribute b.
-
#g ⇒ Object
Returns the value of attribute g.
-
#number ⇒ Object
Returns the value of attribute number.
-
#r ⇒ Object
Returns the value of attribute r.
Instance Attribute Details
#b ⇒ Object
Returns the value of attribute b
25 26 27 |
# File 'lib/textbringer/color.rb', line 25 def b @b end |
#g ⇒ Object
Returns the value of attribute g
25 26 27 |
# File 'lib/textbringer/color.rb', line 25 def g @g end |
#number ⇒ Object
Returns the value of attribute number
25 26 27 |
# File 'lib/textbringer/color.rb', line 25 def number @number end |
#r ⇒ Object
Returns the value of attribute r
25 26 27 |
# File 'lib/textbringer/color.rb', line 25 def r @r end |