class Handlebars::Helpers::StringFormatting::Upcase
Upcase/Uppercase all of the characters in the given string.
Public Instance Methods
parse(value)
click to toggle source
Parse will Upcase/Uppercase all of the characters in the given string.
@example
puts Upcase.new.parse('the quick brown fox 99') THE QUICK BROWN FOX 99
@return [String] value in uppercase
# File lib/handlebars/helpers/string_formatting/upcase.rb, line 23 def parse(value) return '' if value.nil? value.upcase end