Class: Arspy::Operators::Selector::UnsupportedSelector

Inherits:
Base
  • Object
show all
Defined in:
lib/arspy/operators/selector/unsupported_selector.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(arg) ⇒ UnsupportedSelector

Returns a new instance of UnsupportedSelector.



8
9
10
# File 'lib/arspy/operators/selector/unsupported_selector.rb', line 8

def initialize(arg)
  raise "#{arg.inspect} not supported."
end

Class Method Details

.applies?(arg) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/arspy/operators/selector/unsupported_selector.rb', line 5

def self.applies?(arg)
  true
end

Instance Method Details

#select?(obj) ⇒ Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/arspy/operators/selector/unsupported_selector.rb', line 11

def select?(obj)
  nil
end