Class: Selector::Anything
- Includes:
- Singleton
- Defined in:
- lib/selector/anything.rb
Overview
The condition that accepts any value
Instance Attribute Summary
Attributes inherited from Condition
Instance Method Summary collapse
-
#[](value) ⇒ true
Returns true.
Methods inherited from Condition
#!, #&, #-, #==, #attribute, #initialize, #|
Constructor Details
This class inherits a constructor from Selector::Condition
Instance Method Details
#[](value) ⇒ true
Returns true
24 25 26 |
# File 'lib/selector/anything.rb', line 24 def [](_value) true end |