lib/rubygems/ext/builder.rb
##
# Chooses the extension builder class for +extension+
Chooses the extension builder class for +extension+
Chooses the extension builder class for + extension +
def builder_for(extension) 
    case extension
    when /extconf/ then
      Gem::Ext::ExtConfBuilder
    when /configure/ then
      Gem::Ext::ConfigureBuilder
    when /rakefile/i, /mkrf_conf/i then
      @ran_rake = true
      Gem::Ext::RakeBuilder
    when /CMakeLists.txt/ then
      Gem::Ext::CmakeBuilder
    else
      build_error("No builder for extension '#{extension}'")
    end
  end
def builder_for ( extension ) case extension when / extconf / then Gem :: Ext :: ExtConfBuilder when / configure / then Gem :: Ext :: ConfigureBuilder when / rakefile /i , / mkrf_conf /i then @ran_rake = true Gem :: Ext :: RakeBuilder when / CMakeLists.txt / then Gem :: Ext :: CmakeBuilder else build_error ( "No builder for extension '#{extension}'" ) end end
Chooses the extension builder class for +extension+
Chooses the extension builder class for + extension +
# :nodoc:
extension
<not_specific>