Class: NoSE::Plans::DeletePlanStep
- Inherits:
-
UpdatePlanStep
- Object
- PlanStep
- UpdatePlanStep
- NoSE::Plans::DeletePlanStep
- Defined in:
- lib/nose/plans/update.rb
Overview
A step which deletes data into a given index
Instance Attribute Summary
Attributes inherited from UpdatePlanStep
Attributes inherited from PlanStep
#children, #cost, #fields, #parent, #state
Instance Method Summary collapse
-
#initialize(index, state = nil) ⇒ DeletePlanStep
constructor
A new instance of DeletePlanStep.
Methods inherited from UpdatePlanStep
Methods inherited from PlanStep
#add_fields_from_index, #calculate_cost, inherited, #parent_index, #parent_steps, #to_color
Methods included from Supertype
Constructor Details
#initialize(index, state = nil) ⇒ DeletePlanStep
Returns a new instance of DeletePlanStep.
55 56 57 |
# File 'lib/nose/plans/update.rb', line 55 def initialize(index, state = nil) super index, :delete, state end |