class Cucumber::Core::Compiler::TestCaseBuilder

@private

def background_test_steps

def background_test_steps
  @background_test_steps ||= []
end

def initialize(receiver)

def initialize(receiver)
  @receiver = receiver
end

def on_background_step(source)

def on_background_step(source)
  background_test_steps << Test::Step.new(source)
  self
end

def on_step(source)

def on_step(source)
  test_steps << Test::Step.new(source)
  self
end

def on_test_case(source)

def on_test_case(source)
  Test::Case.new(test_steps, source).describe_to(receiver)
  @test_steps = nil
  self
end

def test_steps

def test_steps
  @test_steps ||= background_test_steps.dup
end