Method: ExecJS::JohnsonRuntime#available?
- Defined in:
- lib/execjs/johnson_runtime.rb
#available? ⇒ Boolean
93 94 95 96 97 98 |
# File 'lib/execjs/johnson_runtime.rb', line 93 def available? require "johnson" true rescue LoadError false end |