Class: Libv8::Compiler::Clang
- Inherits:
-
GenericCompiler
- Object
- GenericCompiler
- Libv8::Compiler::Clang
- Defined in:
- ext/libv8/compiler/clang.rb
Constant Summary collapse
- VERSION_REGEXP =
/clang version (\d+\.\d+(\.\d+)*) \(/i
Constants inherited from GenericCompiler
GenericCompiler::TARGET_REGEXP
Instance Method Summary collapse
Methods inherited from GenericCompiler
#call, #initialize, #target, #to_s, #version
Constructor Details
This class inherits a constructor from Libv8::Compiler::GenericCompiler
Instance Method Details
#compatible? ⇒ Boolean
10 11 12 |
# File 'ext/libv8/compiler/clang.rb', line 10 def compatible? version >= '3.1' end |
#name ⇒ Object
6 7 8 |
# File 'ext/libv8/compiler/clang.rb', line 6 def name 'clang' end |