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

29 lines
550 B
Ruby
Raw Normal View History

require 'java'
require 'rhino/rhino-1.7R3.jar'
2009-09-24 20:06:31 -04:00
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'