Class: Kinds
Instance Attribute Summary collapse
-
#kinds ⇒ Object
Returns the value of attribute kinds.
Instance Method Summary collapse
-
#initialize(*kinds) ⇒ Kinds
constructor
A new instance of Kinds.
Constructor Details
#initialize(*kinds) ⇒ Kinds
Returns a new instance of Kinds.
40 41 42 |
# File 'lib/sugar-high/kind_of.rb', line 40 def initialize *kinds self.kinds = *kinds end |
Instance Attribute Details
#kinds ⇒ Object
Returns the value of attribute kinds.
38 39 40 |
# File 'lib/sugar-high/kind_of.rb', line 38 def kinds @kinds end |