Sha256: 00a483d8f76f31768673e4de3a8073b2d27fa3c9e4be4382fb307016b1d68361
Contents?: true
Size: 381 Bytes
Versions: 32
Compression:
Stored size: 381 Bytes
Contents
# frozen_string_literal: true class Code class Node class Splat < Node def initialize(parsed) @operator = parsed.delete(:operator) @right = Node::Statement.new(parsed.delete(:right)) super(parsed) end def evaluate(**args) @right.evaluate(**args).call(operator: @operator, arguments: [], **args) end end end end
Version data entries
32 entries across 32 versions & 1 rubygems