Class: Cucumber::Core::Compiler

Inherits:
Object
  • Object
show all
Defined in:
lib/cucumber/core/compiler.rb

Defined Under Namespace

Classes: BackgroundCompiler, FeatureCompiler, ScenarioCompiler, ScenarioOutlineCompiler, TestCaseBuilder

Instance Method Summary collapse

Instance Method Details

#doneObject



16
17
18
19
# File 'lib/cucumber/core/compiler.rb', line 16

def done
  receiver.done
  self
end

#feature(feature) ⇒ Object



10
11
12
13
14
# File 'lib/cucumber/core/compiler.rb', line 10

def feature(feature)
  compiler = FeatureCompiler.new(TestCaseBuilder.new(receiver))
  feature.describe_to(compiler)
  self
end