Sha256: d5caa18e368ac767b3990bf6e0033a46bba384741ad3d8b0c088514417322d48

Contents?: true

Size: 185 Bytes

Versions: 1

Compression:

Stored size: 185 Bytes

Contents

require_relative '../procstar'

module Procstar
  module RegexpMatcher
    def to_proc
      lambda{ |e| e.to_s[self] }
    end
  end
end

Regexp.send :include, Procstar::RegexpMatcher

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
procstar-1.0.0 lib/procstar/regexp_matcher.rb