class Handlebars::Helpers::StringFormatting::Dotirize

convert to dot notation

Public Instance Methods

parse(value) click to toggle source

Parse will convert to dot notation

@side effects

All text is in lower case

@example

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

the.quick.brown.fox99

@return [String] value converted to dot notation

# File lib/handlebars/helpers/string_formatting/dotirize.rb, line 27
def parse(value)
  tokenizer.parse(value, separator: '.')
end