Sha256: 7b199c76bf5bdff2ad6495d0a185e50782353a90d56d58dd2f6db9c80de7269f

Contents?: true

Size: 120 Bytes

Versions: 5

Compression:

Stored size: 120 Bytes

Contents

module Kernel
  # Provides a shortcut to the Regexp.escape module method.
  def resc(x)
    Regexp.escape(x)
  end 
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
facets-0.7.0 lib/facet/kernel/resc.rb
facets-0.7.1 lib/facet/kernel/resc.rb
facets-0.7.2 lib/facet/kernel/resc.rb
nano-0.8.1 lib/nano/kernel/resc.rb
nano-0.8.2 lib/nano/kernel/resc.rb