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