Sha256: fde3ffc2d6143f3a37611d1fd5a8a74ed8c17c1d82f7f03056214bccbbec4ae2
Contents?: true
Size: 358 Bytes
Versions: 4
Compression:
Stored size: 358 Bytes
Contents
module Apache # Add quotes around parameters as needed module Quoteize # Add quotes around most parameters, and don't add quotes around Symbols def quoteize(*args) args.collect do |arg| case arg when Symbol arg.to_s.gsub('_', ' ') else %{"#{arg}"} end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems