class Cucumber::Core::Compiler
Compiles the AST into test cases
Attributes
receiver[R]
Public Class Methods
new(receiver)
click to toggle source
# File lib/cucumber/core/compiler.rb, line 13 def initialize(receiver) @receiver = receiver end
Public Instance Methods
done()
click to toggle source
# File lib/cucumber/core/compiler.rb, line 23 def done receiver.done self end
feature(feature)
click to toggle source
# File lib/cucumber/core/compiler.rb, line 17 def feature(feature) compiler = FeatureCompiler.new(TestCaseBuilder.new(receiver)) feature.describe_to(compiler) self end