module Cucumber::Core::Ast::DescribesItself
def describe_to(visitor, *args)
def describe_to(visitor, *args) visitor.send(description_for_visitors, self, *args) do |child_visitor| children.each do |child| begin child.describe_to(child_visitor, *args) rescue => e raise e.class, "Failed describing child of #{self.inspect} - #{e.message}", e.backtrace end end end self end