Class: Tinge::Color
- Inherits:
-
Object
- Object
- Tinge::Color
- Defined in:
- lib/tinge/color.rb
Instance Method Summary collapse
- #add_sighting(node, parent = nil) ⇒ Object
-
#initialize(text) ⇒ Color
constructor
A new instance of Color.
- #sightings ⇒ Object
Constructor Details
#initialize(text) ⇒ Color
Returns a new instance of Color.
5 6 7 |
# File 'lib/tinge/color.rb', line 5 def initialize(text) @text = text end |