lib/dentaku/ast/case/case_then.rb in dentaku-3.3.3 vs lib/dentaku/ast/case/case_then.rb in dentaku-3.3.4
- old
+ new
@@ -1,21 +1,29 @@
module Dentaku
module AST
class CaseThen < Node
- def self.arity
- 1
- end
-
def initialize(node)
@node = node
end
def value(context = {})
@node.value(context)
end
def dependencies(context = {})
@node.dependencies(context)
+ end
+
+ def self.arity
+ 1
+ end
+
+ def self.min_param_count
+ 1
+ end
+
+ def self.max_param_count
+ 1
end
end
end
end