Sha256: 7fa3f22266316ff7154d677bd23a07e02456759ab9e88d7c0394e6f7f6952222

Contents?: true

Size: 430 Bytes

Versions: 4

Compression:

Stored size: 430 Bytes

Contents

module Dentaku
  module AST
    class CaseThen < Node
      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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dentaku-3.4.2 lib/dentaku/ast/case/case_then.rb
dentaku-3.4.1 lib/dentaku/ast/case/case_then.rb
dentaku-3.4.0 lib/dentaku/ast/case/case_then.rb
dentaku-3.3.4 lib/dentaku/ast/case/case_then.rb