Sha256: dd59b4192baf22aa304ba3f06ccc386200f502745152c58015f89d503c2ab281

Contents?: true

Size: 230 Bytes

Versions: 3

Compression:

Stored size: 230 Bytes

Contents

module UrlRegexp
  class Node
    def append(_)
      raise NotImplementedError
    end

    def to_regexp_s
      raise NotImplementedError
    end

    def to_regexp
      rs = to_regexp_s
      Regexp.new(rs)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
url_regexp-0.1.4 lib/url_regexp/node.rb
url_regexp-0.1.3 lib/url_regexp/node.rb
url_regexp-0.1.2 lib/url_regexp/node.rb