Module: Kind::Enum
- Extended by:
- Enum
- Included in:
- Enum
- Defined in:
- lib/kind/enum.rb,
lib/kind/enum/item.rb,
lib/kind/enum/methods.rb
Defined Under Namespace
Classes: Item
Instance Method Summary collapse
Instance Method Details
#from_array(input, use_index_as_value:) ⇒ Object
17 18 19 |
# File 'lib/kind/enum.rb', line 17 def from_array(input, use_index_as_value:) __create(input, use_index_as_value) end |
#values(input) ⇒ Object
13 14 15 |
# File 'lib/kind/enum.rb', line 13 def values(input) __create(input) end |