class Sexp::Klass
Matches any atom that is an instance of the specified class or module.
examples:
s(:lit, 6.28) / s{ q(:lit, k(Float)) } #=> [s(:lit, 6.28)]
Public Instance Methods
satisfy?(o)
click to toggle source
# File lib/sexp_matcher.rb, line 872 def satisfy? o o.kind_of? self.pattern end