Class: Arspy::Operators::Interpreter::NullInterpreter

Inherits:
Base
  • Object
show all
Defined in:
lib/arspy/operators/interpreter/null_interpreter.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Arspy::Operators::Interpreter::Base

Class Method Details

.applies?(array, method_name) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/arspy/operators/interpreter/null_interpreter.rb', line 5

def self.applies?(array, method_name)
  true
end

Instance Method Details

#interpret(*args) ⇒ Object



8
# File 'lib/arspy/operators/interpreter/null_interpreter.rb', line 8

def interpret(*args); nil; end