lib/grumlin/traversal_start.rb in grumlin-0.18.1 vs lib/grumlin/traversal_start.rb in grumlin-0.19.0
- old
+ new
@@ -29,10 +29,10 @@
super
end
def __
- TraversalStart.new(@shortcuts) # TODO: allow only regular and start steps
+ @__ ||= TraversalStart.new(@shortcuts) # TODO: allow only regular and start steps
end
def to_s(*)
self.class.to_s
end