lib/lucid/ast/specs.rb in lucid-0.0.8 vs lib/lucid/ast/specs.rb in lucid-0.0.9
- old
+ new
@@ -19,9 +19,13 @@
def add_feature(feature)
@features << feature
end
+ # The ability to visit specs is the first step in turning a spec into
+ # what is traditionally called a feature. The spec file and the feature
+ # are initially the same concept. When the spec is visited, the high
+ # level construct (feature, ability) is determined.
def accept(visitor)
return if Lucid.wants_to_quit
visitor.visit_features(self) do
start = Time.now