Class: Html2Bbcode::Html::Color
- Inherits:
-
Object
- Object
- Html2Bbcode::Html::Color
- Defined in:
- lib/html/color.rb
Instance Method Summary collapse
- #get ⇒ Object
-
#initialize(color) ⇒ Color
constructor
A new instance of Color.
Constructor Details
#initialize(color) ⇒ Color
Returns a new instance of Color.
4 5 6 |
# File 'lib/html/color.rb', line 4 def initialize color @color = color end |
Instance Method Details
#get ⇒ Object
8 9 10 |
# File 'lib/html/color.rb', line 8 def get parse_color end |