Class: Gem::Ext::Builder

Inherits:
Object
  • Object
show all
Defined in:
lib/rubygems/builder.rb

Instance Method Summary collapse

Instance Method Details

#builder_for(extension) ⇒ Object



3
4
5
6
7
8
9
10
# File 'lib/rubygems/builder.rb', line 3

def builder_for(extension)
  case extension
    when /CMakeLists.txt/ then
      Gem::Ext::CmakeBuilder.new
    else
      builder_for_original(extension)
  end
end

#builder_for_originalObject



2
# File 'lib/rubygems/builder.rb', line 2

alias :builder_for_original :builder_for