Class: PAC::Runtimes::MustangRuntime
- Inherits:
-
Object
- Object
- PAC::Runtimes::MustangRuntime
- Defined in:
- lib/pac/runtimes/mustang.rb
Defined Under Namespace
Classes: Context
Instance Method Summary collapse
Instance Method Details
#available? ⇒ Boolean
52 53 54 55 56 57 |
# File 'lib/pac/runtimes/mustang.rb', line 52 def available? require "mustang" true rescue LoadError false end |
#compile(source) ⇒ Object
48 49 50 |
# File 'lib/pac/runtimes/mustang.rb', line 48 def compile(source) Context.new(source) end |
#name ⇒ Object
44 45 46 |
# File 'lib/pac/runtimes/mustang.rb', line 44 def name "Mustang (V8)" end |