Sha256: c122844e91e972a92026db30fa549ab36a242ee82097181f2f70d2a22b977552
Contents?: true
Size: 491 Bytes
Versions: 11
Compression:
Stored size: 491 Bytes
Contents
class Fancy class AST class RangeLiteral < Node attr_accessor :from, :to def initialize(line, from, to) super(line) @from = from @to = to end def bytecode(g) ms = MessageSend.new(@line, Identifier.new(@line, "Range"), Identifier.new(@line, "new:to:"), MessageArgs.new(@line, @from, @to)) ms.bytecode(g) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems