lib/dentaku/ast/case/case_then.rb in dentaku-3.4.2 vs lib/dentaku/ast/case/case_then.rb in dentaku-3.5.0

- old
+ new

@@ -1,8 +1,10 @@ module Dentaku module AST class CaseThen < Node + attr_reader :node + def initialize(node) @node = node end def value(context = {}) @@ -21,9 +23,13 @@ 1 end def self.max_param_count 1 + end + + def accept(visitor) + visitor.visit_then(self) end end end end