class Selector::Nothing

The condition that accepts any value

@example (see [])

Public Instance Methods

[](_value) click to toggle source

@!method [](value) Returns false

@example

condition = Selector::Nothing.instance # singleton
condition[:foo] # => false

@param (see Selector::Condition#[])

@return [false]

# File lib/selector/nothing.rb, line 24
def [](_value)
  false
end