Method: Buildr::Compiler.select

Defined in:
lib/buildr/core/compile.rb

.select(name) ⇒ Object

Select a compiler by its name.



31
32
33
# File 'lib/buildr/core/compile.rb', line 31

def select(name)
  compilers.detect { |compiler| compiler.to_sym == name.to_sym }
end