class Cucumber::Formatter::LegacyApi::Ast::HookResult

def send_output_to(formatter)

def send_output_to(formatter)
  unless @already_accepted
    @messages.each { |message| formatter.puts(message) }
    @embeddings.each { |embedding| embedding.send_to_formatter(formatter) }
  end
end