class SexpPath::Matcher::Remaining

See SexpQueryBuilder._

Public Class Methods

new() click to toggle source

Creates a Matcher which will match any remaining Defaults to matching the immediate following sibling.

# File lib/sexp_path/matcher/remaining.rb, line 6
def initialize()

end

Public Instance Methods

greedy?() click to toggle source
# File lib/sexp_path/matcher/remaining.rb, line 15
def greedy?
  true
end
inspect() click to toggle source
# File lib/sexp_path/matcher/remaining.rb, line 19
def inspect
  "___"
end
satisfy?(o, data={}) click to toggle source

Always satisfied once this is reached. Think of it as a var arg.

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