Class: Cucumber::Core::Gherkin::AstBuilder::BackgroundBuilder
- Inherits:
-
Builder
- Object
- Builder
- Cucumber::Core::Gherkin::AstBuilder::BackgroundBuilder
show all
- Defined in:
- lib/cucumber/core/gherkin/ast_builder.rb
Instance Method Summary
collapse
Methods inherited from Builder
#initialize
Instance Method Details
#add_step(file, node) ⇒ Object
165
166
167
|
# File 'lib/cucumber/core/gherkin/ast_builder.rb', line 165
def add_step(file, node)
step_builders << ScenarioBuilder::StepBuilder.new(file, node)
end
|
#result(language) ⇒ Object
152
153
154
155
156
157
158
159
160
161
162
163
|
# File 'lib/cucumber/core/gherkin/ast_builder.rb', line 152
def result(language)
Ast::Background.new(
node,
language,
location,
,
node.keyword,
node.name,
node.description,
steps(language)
)
end
|