Class: Arspy::Operators::Selector::UnsupportedSelector
- Defined in:
- lib/arspy/operators/selector/unsupported_selector.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arg) ⇒ UnsupportedSelector
constructor
A new instance of UnsupportedSelector.
- #select?(obj) ⇒ Boolean
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
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
11 12 13 |
# File 'lib/arspy/operators/selector/unsupported_selector.rb', line 11 def select?(obj) nil end |