class Cucumber::Ast::Feature
def next_feature_element(feature_element, &proc)
def next_feature_element(feature_element, &proc) init index = @feature_elements.index(feature_element) next_one = @feature_elements[index+1] proc.call(next_one) if next_one end