changeset 15: | 64acf98d15f4 |
author: | moriq@moriq.com |
date: | Mon Mar 10 10:12:58 2008 +0900 (16 years ago) |
permissions: | -rw-r--r-- |
description: | add plugins rspec |
1module Spec2 module Story3 module Runner4 class ScenarioCollector5 attr_accessor :scenarios67 def initialize(story)8 @story = story9 @scenarios = []10 end1112 def Scenario(name, &body)13 @scenarios << Scenario.new(@story, name, &body)14 end15 end16 end17 end18end