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
27 28 29 |
# File 'lib/textbringer/color.rb', line 27 def b @b end |
#g ⇒ Object
Returns the value of attribute g
27 28 29 |
# File 'lib/textbringer/color.rb', line 27 def g @g end |
#number ⇒ Object
Returns the value of attribute number
27 28 29 |
# File 'lib/textbringer/color.rb', line 27 def number @number end |
#r ⇒ Object
Returns the value of attribute r
27 28 29 |
# File 'lib/textbringer/color.rb', line 27 def r @r end |