Class: ExecJS::RubyRacerRuntime
- Defined in:
- lib/execjs/ruby_racer_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
107 108 109 110 111 112 |
# File 'lib/execjs/ruby_racer_runtime.rb', line 107 def available? require "v8" true rescue LoadError false end |
#name ⇒ Object
103 104 105 |
# File 'lib/execjs/ruby_racer_runtime.rb', line 103 def name "therubyracer (V8)" end |