Sha256: b48ab3a7e5d4e78fe351436c16ded602385a46636c0fb60a5afdedc7f0a8e509
Contents?: true
Size: 353 Bytes
Versions: 21
Compression:
Stored size: 353 Bytes
Contents
class Code class Node class List < Node def initialize(parsed) parsed = [] if parsed == "" @elements = parsed.map { |element| Node::Code.new(element) } end def evaluate(**args) ::Code::Object::List.new( @elements.map { |element| element.evaluate(**args) } ) end end end end
Version data entries
21 entries across 21 versions & 3 rubygems