Class: Kinds

Inherits:
Object show all
Defined in:
lib/sugar-high/kind_of.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#kindsObject

Returns the value of attribute kinds.



38
39
40
# File 'lib/sugar-high/kind_of.rb', line 38

def kinds
  @kinds
end