Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (25 sloc) 0.687 kb
# Defines a few fundamental constants that are needed on MRI to run the
# compiler. Also requires files that are available by default in Rubinius.
module Rubinius
LookupTable = Hash
class Tuple < Array; end
class Executable
attr_accessor :primitive
end
end
class Array
def to_tuple
Rubinius::Tuple.new self
end
end
class String
alias_method :append, :<<
end
class SyntaxError
def self.from(message, column, line, code, file)
message << " #{file}:#{line}:#{column}\n #{code}"
SyntaxError.new message
end
end
require File.expand_path("../../kernel/common/compiled_method", __FILE__)
require File.expand_path("../../kernel/delta/options", __FILE__)
Jump to Line
Something went wrong with that request. Please try again.