Class: SexpPath::Matcher::Remaining
- Defined in:
- lib/sexp_path/matcher/remaining.rb
Overview
See SexpQueryBuilder._
Instance Method Summary collapse
-
#initialize ⇒ Remaining
constructor
Creates a Matcher which will match any remaining Defaults to matching the immediate following sibling.
- #inspect ⇒ Object
-
#satisfy?(o, data = {}) ⇒ Boolean
Always satisfied once this is reached.
Methods inherited from Base
Methods included from Traverse
#capture_as, #replace_sexp, #search, #search_each
Constructor Details
#initialize ⇒ Remaining
Creates a Matcher which will match any remaining Defaults to matching the immediate following sibling.
6 7 8 |
# File 'lib/sexp_path/matcher/remaining.rb', line 6 def initialize() end |
Instance Method Details
#inspect ⇒ Object
15 16 17 |
# File 'lib/sexp_path/matcher/remaining.rb', line 15 def inspect "___" end |
#satisfy?(o, data = {}) ⇒ Boolean
Always satisfied once this is reached. Think of it as a var arg.
11 12 13 |
# File 'lib/sexp_path/matcher/remaining.rb', line 11 def satisfy?(o, data={}) data end |