class Handlebars::Helpers::StringFormatting::Downcase
Downcase/Lowercase all of the characters in the given string.
Public Instance Methods
parse(value)
click to toggle source
Parse will Downcase/Lowercase all of the characters in the given string.
@example
puts Downcase.new.parse('The Quick Brown Fox 99') the quick brown fox 99
@return [String] value in lowercase
# File lib/handlebars/helpers/string_formatting/downcase.rb, line 23 def parse(value) return '' if value.nil? value.downcase end