Sha256: c4698bd406f7e25f10de151c038571f8dee9f077a037350d239c5c36cd822bf2

Contents?: true

Size: 236 Bytes

Versions: 5

Compression:

Stored size: 236 Bytes

Contents

# See SexpQueryBuilder.wild and SexpQueryBuilder._
class SexpPath::Matcher::Wild < SexpPath::Matcher::Base
  
  # Matches any single element.
  def satisfy?(o, data={})
    capture_match o, data
  end

  def inspect
    "wild"
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
adamsanderson-sexp_path-0.4.0 lib/sexp_path/matcher/wild.rb
sexp_path-0.5.2 lib/sexp_path/matcher/wild.rb
sexp_path-0.5.1 lib/sexp_path/matcher/wild.rb
sexp_path-0.5.0 lib/sexp_path/matcher/wild.rb
sexp_path-0.4.0 lib/sexp_path/matcher/wild.rb