class Handlebars::Helpers::StringFormatting::Pluserize

convert to plus notation

Public Instance Methods

parse(value) click to toggle source

Parse will convert to plus notation

@example

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

the+quick+brown+fox99

@return [String] value converted to plus notation

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