Class: Jot::Ruby::Js::Impl
- Inherits:
-
ImplBase
- Object
- ImplBase
- Jot::Ruby::Js::Impl
- Extended by:
- Utils::Snippets
- Includes:
- ImplHelpers
- Defined in:
- lib/jot/ruby/js/impl.rb
Defined Under Namespace
Modules: ImplHelpers, OperationMethods
Class Method Summary collapse
Class Method Details
.runtime ⇒ Object
9 10 11 12 13 14 |
# File 'lib/jot/ruby/js/impl.rb', line 9 def runtime @runtime ||= begin source = File.read(File.join(gem_root, 'vendor/jot.js')) ExecJS.compile(source) end end |