method
assign_steps_to

1.1.12 -
Show latest stable
-
0 notes -
Class: Spec::Story::Story
- 1.1.4 (0)
- 1.1.12 (0)
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
assign_steps_to(assignee)
public
Hide source
# File lib/spec/story/story.rb, line 21 def assign_steps_to(assignee) if steps=@params[:steps_for] steps = [steps] unless steps.is_a?(Array) steps.each do |step| if step.is_a?(StepGroup) assignee.use(step) else assignee.use(steps_for(step)) end end end end