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
95 96 97 98 99 100 |
# File 'lib/execjs/ruby_rhino_runtime.rb', line 95 def available? require "rhino" true rescue LoadError false end |
#name ⇒ Object
91 92 93 |
# File 'lib/execjs/ruby_rhino_runtime.rb', line 91 def name "therubyrhino (Rhino)" end |