class Selector::Anything

The condition that accepts any value

@example (see [])

Public Instance Methods

[](_value) click to toggle source

@!method [](value) Returns true

@example

condition = Selector::Anything.instance # singleton
condition[:foo] # => true

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

@return [true]

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