Class: ExecJS::RubyRhinoRuntime
- Inherits:
-
Runtime
- Object
- Runtime
- ExecJS::RubyRhinoRuntime
- Defined in:
- lib/execjs/ruby_rhino_runtime.rb
Defined Under Namespace
Classes: Context
Instance Method Summary (collapse)
Methods inherited from Runtime
#compile, #context_class, #deprecated?, #eval, #exec
Instance Method Details
- (Boolean) available?
82 83 84 85 86 87 |
# File 'lib/execjs/ruby_rhino_runtime.rb', line 82 def available? require "rhino" true rescue LoadError false end |
- (Object) name
78 79 80 |
# File 'lib/execjs/ruby_rhino_runtime.rb', line 78 def name "therubyrhino (Rhino)" end |