Class: Handlebars::Helpers::StringFormatting::Dasherize
- Inherits:
-
BaseHelper
- Object
- BaseHelper
- Handlebars::Helpers::StringFormatting::Dasherize
- Defined in:
- lib/handlebars/helpers/string_formatting/dasherize.rb
Overview
convert to dash notation
Instance Method Summary collapse
-
#parse(value) ⇒ String
Parse will convert to dash notation.
Methods inherited from BaseHelper
#handlebars_helper, #parse_json, #struct_to_hash, #tokenizer, #wrapper
Instance Method Details
#parse(value) ⇒ String
Parse will convert to dash notation
27 28 29 |
# File 'lib/handlebars/helpers/string_formatting/dasherize.rb', line 27 def parse(value) tokenizer.parse(value) end |