class Cucumber::Formatter::LegacyApi::Ast::HookResultCollection

Public Class Methods

new() click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 35
def initialize
  @children = []
end

Public Instance Methods

<<(child) click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 51
def <<(child)
  @children << child
end
accept(formatter) click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 39
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 47
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 43
def send_output_to(formatter)
  @children.each { |child| child.send_output_to(formatter) }
end