class Sexp::Remaining

Matches all remaining input. If remaining comes before any other matchers, they will be ignored.

examples:

s(:a)         / s{ s(:a, ___ ) } #=> [s(:a)]
s(:a, :b, :c) / s{ s(:a, ___ ) } #=> [s(:a, :b, :c)]

Public Instance Methods

greedy?() click to toggle source
# File lib/sexp.rb, line 914
def greedy?
  true
end
satisfy?(o) click to toggle source

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

# File lib/sexp.rb, line 910
def satisfy? o
  true
end