class Cucumber::Core::Gherkin::AstBuilder
Builds an AST of a feature by listening to events from the
Gherkin parser.
Public Class Methods
new(uri)
click to toggle source
# File lib/cucumber/core/gherkin/ast_builder.rb, line 12 def initialize(uri) @uri = uri end
Public Instance Methods
feature(attributes)
click to toggle source
# File lib/cucumber/core/gherkin/ast_builder.rb, line 16 def feature(attributes) DocumentBuilder.new(file, attributes).feature end
Private Instance Methods
file()
click to toggle source
# File lib/cucumber/core/gherkin/ast_builder.rb, line 22 def file @uri end