class Handlebars::Helpers::StringFormatting::Camel

camel case the characters in the given 'string'.

Public Instance Methods

parse(value) click to toggle source

Parse will camel case the characters in the given 'string'.

@example

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

TheQuickBrownFox99

@return [String] value converted to camel case

# File lib/handlebars/helpers/string_formatting/camel.rb, line 23
def parse(value)
  tokenizer.parse(value).underscore.camelize
end