Sha256: c795fb336f9438c5f77ff41aed6f4c18f082bef94ce7be5761b8c18925378562
Contents?: true
Size: 192 Bytes
Versions: 1
Compression:
Stored size: 192 Bytes
Contents
class Nydp::Builtin::StringReplace include Nydp::Builtin::Base, Singleton def builtin_call remove, insert, str str.to_s.to_s.gsub Regexp.new(remove.to_ruby), insert.to_ruby end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nydp-0.6.0 | lib/nydp/builtin/string_replace.rb |