Sha256: e83fa6f10e98571517b85dda07b13833b9f710d3770d558e89888ac127a4c428
Contents?: true
Size: 555 Bytes
Versions: 2
Compression:
Stored size: 555 Bytes
Contents
module Dentaku module AST class Array def self.arity end def self.min_param_count 0 end def self.max_param_count Float::INFINITY end def self.peek(*) end def initialize(*elements) @elements = *elements end def value(context = {}) @elements.map { |el| el.value(context) } end def dependencies(context = {}) @elements.flat_map { |el| el.dependencies(context) } end def type nil end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dentaku-3.3.4 | lib/dentaku/ast/array.rb |
dentaku-3.3.3 | lib/dentaku/ast/array.rb |