Class: ExecJS::JohnsonRuntime
Defined Under Namespace
Classes: Context
Instance Method Summary
collapse
Methods inherited from Runtime
#compile, #context_class, #eval, #exec
Instance Method Details
#available? ⇒ Boolean
95
96
97
98
99
100
|
# File 'lib/execjs/johnson_runtime.rb', line 95
def available?
require "johnson"
true
rescue LoadError
false
end
|
#deprecated? ⇒ Boolean
102
103
104
|
# File 'lib/execjs/johnson_runtime.rb', line 102
def deprecated?
true
end
|
#name ⇒ Object
91
92
93
|
# File 'lib/execjs/johnson_runtime.rb', line 91
def name
"Johnson (SpiderMonkey)"
end
|