Sha256: f4b6bb06119d204c5eec58cbc0bb0d7d5b10c536b8ac5174dda0c8d43645a829

Contents?: true

Size: 331 Bytes

Versions: 7

Compression:

Stored size: 331 Bytes

Contents

module Dentaku
  module AST
    class CaseWhen < Operation
      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
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dentaku-3.3.3 lib/dentaku/ast/case/case_when.rb
dentaku-3.3.2 lib/dentaku/ast/case/case_when.rb
dentaku-3.3.1 lib/dentaku/ast/case/case_when.rb
dentaku-3.3.0 lib/dentaku/ast/case/case_when.rb
dentaku-3.2.1 lib/dentaku/ast/case/case_when.rb
dentaku-3.2.0 lib/dentaku/ast/case/case_when.rb
dentaku-3.1.0 lib/dentaku/ast/case/case_when.rb