Class: Dentaku::BulkExpressionSolver::StrictEvaluator
- Inherits:
-
Object
- Object
- Dentaku::BulkExpressionSolver::StrictEvaluator
- Defined in:
- lib/dentaku/bulk_expression_solver.rb
Instance Method Summary collapse
- #evaluate(*args) ⇒ Object
-
#initialize(calculator) ⇒ StrictEvaluator
constructor
A new instance of StrictEvaluator.
Constructor Details
#initialize(calculator) ⇒ StrictEvaluator
Returns a new instance of StrictEvaluator.
10 11 12 |
# File 'lib/dentaku/bulk_expression_solver.rb', line 10 def initialize(calculator) @calculator = calculator end |
Instance Method Details
#evaluate(*args) ⇒ Object
14 15 16 |
# File 'lib/dentaku/bulk_expression_solver.rb', line 14 def evaluate(*args) @calculator.evaluate!(*args) end |