Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
module Puppet::Parser::Functions newfunction(:upcase, :type => :rvalue) do |args| args[0].upcase end end ## usage [plain_text] $var = "AlTerNaTiNg CaSe" $upvar = upcase($var)
This paste will be private.
From the Design Piracy series on my blog: