Module: NestedSelect
- Included in:
- Generator::NestedList, Item
- Defined in:
- lib/nested_list/nested_select.rb
Defined Under Namespace
Instance Method Summary collapse
Instance Method Details
#parameterized_name(names) ⇒ Object
2 3 4 5 |
# File 'lib/nested_list/nested_select.rb', line 2 def parameterized_name(names) names.map! { |name| name.to_s.strip.downcase } names.join("-") end |