Class: Filter::Matchers::Nil

Inherits:
Base
  • Object
show all
Defined in:
lib/filter/matchers/nil.rb

Instance Attribute Summary

Attributes inherited from Base

#pattern

Instance Method Summary collapse

Methods inherited from Base

#and, #initialize, #or

Constructor Details

This class inherits a constructor from Filter::Matchers::Base

Instance Method Details

#===(other) ⇒ Object

nil condition always results to true



5
6
7
# File 'lib/filter/matchers/nil.rb', line 5

def ===(other)
  true
end