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