Class: NoSE::Plans::DeletePlanStep

Inherits:
UpdatePlanStep show all
Defined in:
lib/nose/plans/update.rb

Overview

A step which deletes data into a given index

Instance Attribute Summary

Attributes inherited from UpdatePlanStep

#index, #state

Attributes inherited from PlanStep

#children, #cost, #fields, #parent, #state

Instance Method Summary collapse

Methods inherited from UpdatePlanStep

#==, #hash, #to_color

Methods inherited from PlanStep

#add_fields_from_index, #calculate_cost, inherited, #parent_index, #parent_steps, #to_color

Methods included from Supertype

included

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