class Cucumber::Formatter::LegacyApi::Ast::HookResultCollection
Public Class Methods
new()
click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 36 def initialize @children = [] end
Public Instance Methods
<<(child)
click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 52 def <<(child) @children << child end
accept(formatter)
click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 40 def accept(formatter) @children.each { |child| child.accept(formatter) } end
describe_exception_to(formatter)
click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 48 def describe_exception_to(formatter) @children.each { |child| child.describe_exception_to(formatter) } end
send_output_to(formatter)
click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 44 def send_output_to(formatter) @children.each { |child| child.send_output_to(formatter) } end