Sha256: 14aa6714230a07287f1910b16898a5fd8b1d9ae3df512d1f4a45b55e82e3aa8c
Contents?: true
Size: 596 Bytes
Versions: 3
Compression:
Stored size: 596 Bytes
Contents
module Exlibris module Aleph module Table module Reader module Matcher class Base attr_reader :regexp, :string def initialize(regexp, string) @regexp = regexp @string = string end def match_data @match_data ||= regexp.match(string) end def matched_data @matched_data ||= match_data.captures end def matches? regexp === string end end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems