Class: Cel::Runner
- Inherits:
-
Object
- Object
- Cel::Runner
- Defined in:
- lib/cel/environment.rb
Instance Method Summary collapse
- #evaluate(bindings = nil) ⇒ Object
-
#initialize(declarations, ast) ⇒ Runner
constructor
A new instance of Runner.
Constructor Details
#initialize(declarations, ast) ⇒ Runner
Returns a new instance of Runner.
51 52 53 54 |
# File 'lib/cel/environment.rb', line 51 def initialize(declarations, ast) @declarations = declarations @ast = ast end |