lib/lucid/ast/feature.rb in lucid-0.0.9 vs lib/lucid/ast/feature.rb in lucid-0.1.0
- old
+ new
@@ -28,15 +28,13 @@
def step_count
units.inject(0) { |total, unit| total += unit.step_count }
end
def accept(visitor)
- return if Lucid.wants_to_quit
visitor.visit_feature(self) do
comment.accept(visitor)
tags.accept(visitor)
visitor.visit_feature_name(@keyword, indented_name)
- background.accept(visitor)
@feature_elements.each do |feature_element|
feature_element.accept(visitor)
end
end
end