class Sexp::Wild

Matches any single item.

examples:

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

Public Instance Methods

satisfy?(o) click to toggle source

Matches any single element.

# File lib/sexp_matcher.rb, line 544
def satisfy? o
  true
end