Sha256: be38f67a26b6afc242919bdc5b3dedda8e19e094b477ea2b01a2f5d5adca3dc2
Contents?: true
Size: 537 Bytes
Versions: 6
Compression:
Stored size: 537 Bytes
Contents
module Dentaku module AST class CaseSwitchVariable < Node attr_reader :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 def accept(visitor) visitor.visit_switch(self) end end end end
Version data entries
6 entries across 6 versions & 2 rubygems