Sha256: b186039fc80cdf6a44c098e14d467b3d6b67c83e7d5d1e275ff68409a64a02ab

Contents?: true

Size: 332 Bytes

Versions: 7

Compression:

Stored size: 332 Bytes

Contents

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dentaku-3.0.0 lib/dentaku/ast/case/case_switch_variable.rb
dentaku-2.0.11 lib/dentaku/ast/case/case_switch_variable.rb
dentaku-2.0.10 lib/dentaku/ast/case/case_switch_variable.rb
dentaku-2.0.9 lib/dentaku/ast/case/case_switch_variable.rb
dentaku-2.0.8 lib/dentaku/ast/case/case_switch_variable.rb
dentaku-2.0.7 lib/dentaku/ast/case/case_switch_variable.rb
dentaku-2.0.6 lib/dentaku/ast/case/case_switch_variable.rb