Method: BELParser::Script::StateAggregator#initialize
- Defined in:
- lib/bel_parser/script/state_aggregator.rb
#initialize(ast_enum, options = {}) ⇒ StateAggregator
Returns a new instance of StateAggregator.
9 10 11 12 13 14 15 |
# File 'lib/bel_parser/script/state_aggregator.rb', line 9 def initialize(ast_enum, = {}) @ast_enum = ast_enum @script_context = {}.merge() StateAggregator.require_script_path @state_functions = StateAggregator.state_constants(State) end |