Module: RBehave

Defined in:
lib/rbehave.rb,
lib/rbehave/story.rb,
lib/rbehave/world.rb,
lib/rbehave/scenario.rb,
lib/rbehave/exceptions.rb,
lib/rbehave/runner/story_runner.rb,
lib/rbehave/runner/scenario_runner.rb,
lib/rbehave/runner/scenario_collector.rb,
lib/rbehave/reporter/plain_text_reporter.rb,
lib/rbehave/documenter/plain_text_documenter.rb

Defined Under Namespace

Modules: Documenter, Reporter, Runner, World Classes: PendingException, Scenario, Story

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(into) ⇒ Object



8
9
10
# File 'lib/rbehave.rb', line 8

def self.included(into)
  RBehave::Runner.register_instance
end

Instance Method Details

#Story(title, narrative, &body) ⇒ Object



4
5
6
# File 'lib/rbehave.rb', line 4

def Story(title, narrative, &body)
  RBehave::Runner::story_runner.Story(title, narrative, &body)
end