Class: Color
Overview
DO NOT REQUIRE WRONG IN HERE The circularity between projects will cause certain tests to not work.
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(name) ⇒ Color
constructor
A new instance of Color.
- #to_s ⇒ Object
Constructor Details
#initialize(name) ⇒ Color
Returns a new instance of Color.
13 14 15 |
# File 'lib/predicated/test/test_helper.rb', line 13 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
12 13 14 |
# File 'lib/predicated/test/test_helper.rb', line 12 def name @name end |