1
0
Fork 0
mirror of https://github.com/rubyjs/therubyrhino synced 2023-03-27 23:21:34 -04:00
therubyrhino/lib/rhino.rb

28 lines
550 B
Ruby

require 'java'
require 'rhino/rhino-1.7R3.jar'
module Rhino
# This module contains all the native Rhino objects implemented in Java
# e.g. Rhino::JS::NativeObject # => org.mozilla.javascript.NativeObject
module JS
import "org.mozilla.javascript"
module Regexp
import "org.mozilla.javascript.regexp"
end
end
end
require 'rhino/wormhole'
Rhino.extend Rhino::To
require 'rhino/object'
require 'rhino/context'
require 'rhino/error'
require 'rhino/rhino_ext'
require 'rhino/ruby'
require 'rhino/deprecations'