class Handlebars::Helpers::StringFormatting::Dasherize

convert to dash notation

Public Instance Methods

parse(value) click to toggle source

Parse will convert to dash notation

@side effects

All text is in lower case

@example

puts Dasherize.new.parse('the quick brown fox 99')

the-quick-brown-fox99

@return [String] value converted to dash notation

# File lib/handlebars/helpers/string_formatting/dasherize.rb, line 27
def parse(value)
  tokenizer.parse(value)
end