lib/dentaku/ast/case/case_conditional.rb in dentaku-3.4.2 vs lib/dentaku/ast/case/case_conditional.rb in dentaku-3.5.0
- old
+ new
@@ -27,8 +27,12 @@
end
def dependencies(context = {})
@when.dependencies(context) + @then.dependencies(context)
end
+
+ def accept(visitor)
+ visitor.visit_case_conditional(self)
+ end
end
end
end