Class: 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
#available? ⇒ Boolean
89 90 91 92 93 94 |
# File 'lib/execjs/ruby_rhino_runtime.rb', line 89 def available? require "rhino" true rescue LoadError false end |
#name ⇒ Object
85 86 87 |
# File 'lib/execjs/ruby_rhino_runtime.rb', line 85 def name "therubyrhino (Rhino)" end |