class SexpPath::Matcher::Atom
See SexpQueryBuilder.atom
Public Instance Methods
inspect()
click to toggle source
Prints as atom
# File lib/sexp_path/matcher/atom.rb, line 11 def inspect "atom" end
satisfy?(o, data={})
click to toggle source
Satisfied when o
is an atom (anything that is not an S-Expression)
# File lib/sexp_path/matcher/atom.rb, line 4 def satisfy?(o, data={}) return nil if o.is_a? Sexp capture_match o, data end