Class: Libv8::Compiler::GCC
- Inherits:
-
GenericCompiler
- Object
- GenericCompiler
- Libv8::Compiler::GCC
- Defined in:
- ext/libv8/compiler/gcc.rb
Constant Summary collapse
- VERSION_REGEXP =
/gcc version (\d+\.\d+(\.\d+)*)/i
Constants inherited from GenericCompiler
Libv8::Compiler::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/gcc.rb', line 10 def compatible? version > '4.3' and version < '5' end |
#name ⇒ Object
6 7 8 |
# File 'ext/libv8/compiler/gcc.rb', line 6 def name 'GCC' end |