Sha256: 88d35e0d4a0e9a6729bc58b75229a6da241f650494e596a8a0145fc96a20602f
Contents?: true
Size: 185 Bytes
Versions: 63
Compression:
Stored size: 185 Bytes
Contents
# encoding: utf-8 class String # escape double quote. # # ==== Examples # # "hoge'hige".escape_quote # => "hoge''hige" # def escape_quote gsub("'", "''") end end
Version data entries
63 entries across 63 versions & 1 rubygems
Version | Path |
---|---|
tbpgr_utils-0.0.91 | lib/open_classes/string/escape_quote.rb |
tbpgr_utils-0.0.90 | lib/open_classes/string/escape_quote.rb |
tbpgr_utils-0.0.89 | lib/open_classes/string/escape_quote.rb |