class SexpPath::Matcher::Wild

See SexpQueryBuilder.wild and SexpQueryBuilder._

Public Instance Methods

inspect() click to toggle source
# File lib/sexp_path/matcher/wild.rb, line 9
def inspect
  "wild"
end
satisfy?(o, data={}) click to toggle source

Matches any single element.

# File lib/sexp_path/matcher/wild.rb, line 5
def satisfy?(o, data={})
  capture_match o, data
end