Sha256: 1e0ced754d4b5c5b4d148eaad1a73214b5dc015c7f27a7709e7267b04d4f668e
Contents?: true
Size: 350 Bytes
Versions: 21
Compression:
Stored size: 350 Bytes
Contents
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
21 entries across 21 versions & 3 rubygems