Sha256: e25d83ce9d1beaca4098efd0ba94d437cd3ad9c29f338c7be878e0ea3f226b18

Contents?: true

Size: 385 Bytes

Versions: 2

Compression:

Stored size: 385 Bytes

Contents

# See SexpQueryBuilder.___ 
#
class SexpPath::Matcher::Remaining < SexpPath::Matcher::Base  
  # Creates a Matcher which will match any remaining 
  # Defaults to matching the immediate following sibling.
  def initialize()

  end
  
  # Always satisfied once this is reached.  Think of it as a var arg.
  def satisfy?(o, data={})
    data
  end
  
  def inspect
    "___"
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sexp_path-0.5.1 lib/sexp_path/matcher/remaining.rb
sexp_path-0.5.0 lib/sexp_path/matcher/remaining.rb