Class: XlsFunction::Evaluators::TrueEvaluator
- Inherits:
-
Object
- Object
- XlsFunction::Evaluators::TrueEvaluator
- Includes:
- Evaluable
- Defined in:
- lib/xls_function/evaluators/true_evaluator.rb
Instance Attribute Summary collapse
-
#source ⇒ Object
readonly
unused, but hold for future logging…
Instance Method Summary collapse
- #eval ⇒ Object
-
#initialize(source, context) ⇒ TrueEvaluator
constructor
A new instance of TrueEvaluator.
Methods included from Evaluable
Constructor Details
#initialize(source, context) ⇒ TrueEvaluator
Returns a new instance of TrueEvaluator.
9 10 11 12 |
# File 'lib/xls_function/evaluators/true_evaluator.rb', line 9 def initialize(source, context) @source = source @context = context end |
Instance Attribute Details
#source ⇒ Object (readonly)
unused, but hold for future logging…
7 8 9 |
# File 'lib/xls_function/evaluators/true_evaluator.rb', line 7 def source @source end |
Instance Method Details
#eval ⇒ Object
14 15 16 |
# File 'lib/xls_function/evaluators/true_evaluator.rb', line 14 def eval true end |