Sha256: 700b90f3e789720e7b0b8936f993b749cd1b7d476ddcc47154d2631b591a0a6a
Contents?: true
Size: 571 Bytes
Versions: 6
Compression:
Stored size: 571 Bytes
Contents
module Dentaku module AST class CaseWhen < Operation 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_when(self) end def to_s 'WHEN' end end end end
Version data entries
6 entries across 6 versions & 2 rubygems