Method: NoSE::Plans::PlanStep#calculate_cost

Defined in:
lib/nose/plans.rb

#calculate_cost(cost_model) ⇒ Integer

Calculate the cost of executing this step in the plan

Returns:



76
77
78
# File 'lib/nose/plans.rb', line 76

def calculate_cost(cost_model)
  @cost = cost_model.method((subtype_name + '_cost').to_sym).call self
end