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.rb, line 884
def satisfy? o
  true
end