Class: Machete::Matchers::AnyMatcher
- Defined in:
- lib/machete/matchers.rb
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
168 169 170 |
# File 'lib/machete/matchers.rb', line 168 def ==(other) other.instance_of?(self.class) end |
#matches?(node) ⇒ Boolean
172 173 174 |
# File 'lib/machete/matchers.rb', line 172 def matches?(node) true end |