class Object

Constants

EXTENSION_NAME

Public Instance Methods

compiler_is_gcc() click to toggle source
# File ext/concurrent/extconf.rb, line 26
def compiler_is_gcc
  if CONFIG["GCC"] && CONFIG["GCC"] != ""
    return true
  elsif ( # This could stand to be more generic...  but I am afraid.
         CONFIG["CC"] =~ /\bgcc\b/
        )
    return true
  end
  return false
end
create_dummy_makefile() click to toggle source
# File ext/concurrent/extconf.rb, line 8
def create_dummy_makefile
  File.open('Makefile', 'w') do |f|
    f.puts 'all:'
    f.puts 'install:'
  end
end