Sha256: ae2879e6ee384cdf830c62ec1624bce61fca34def8f03da40262fafa5a329e40

Contents?: true

Size: 327 Bytes

Versions: 7

Compression:

Stored size: 327 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.0.0 lib/dentaku/ast/case/case_when.rb
dentaku-2.0.11 lib/dentaku/ast/case/case_when.rb
dentaku-2.0.10 lib/dentaku/ast/case/case_when.rb
dentaku-2.0.9 lib/dentaku/ast/case/case_when.rb
dentaku-2.0.8 lib/dentaku/ast/case/case_when.rb
dentaku-2.0.7 lib/dentaku/ast/case/case_when.rb
dentaku-2.0.6 lib/dentaku/ast/case/case_when.rb