Class: NoSE::Plans::RootPlanStep
Overview
The root of a tree of statement plans used as a placeholder
Instance Attribute Summary
Attributes inherited from PlanStep
#children, #cost, #fields, #parent, #state
Instance Method Summary collapse
-
#initialize(state) ⇒ RootPlanStep
constructor
A new instance of RootPlanStep.
Methods inherited from PlanStep
#add_fields_from_index, #calculate_cost, inherited, #parent_index, #parent_steps, #to_color
Methods included from Supertype
Constructor Details
#initialize(state) ⇒ RootPlanStep
Returns a new instance of RootPlanStep.
96 97 98 99 100 |
# File 'lib/nose/plans.rb', line 96 def initialize(state) super() @state = state @cost = 0 end |