Sha256: 33310066042ded77a4d37c45bf84718a0527c440b35a133c9a4f2570f45bfa52
Contents?: true
Size: 207 Bytes
Versions: 27
Compression:
Stored size: 207 Bytes
Contents
class String alias original_percent % def %(arg, *args) if arg.is_a?(Hash) gsub(/%\{(\w+)\}/) do arg[$1.to_sym] end else original_percent(arg, *args) end end end
Version data entries
27 entries across 27 versions & 1 rubygems