Class: Html2Bbcode::Html::Color

Inherits:
Object
  • Object
show all
Defined in:
lib/html/color.rb

Instance Method Summary collapse

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

#getObject



8
9
10
# File 'lib/html/color.rb', line 8

def get
  parse_color
end