Method: Wandbox::Compiler.from_compiler_name

Defined in:
lib/wandbox/compiler.rb

.from_compiler_name(name) ⇒ Object



15
16
17
18
19
# File 'lib/wandbox/compiler.rb', line 15

def self.from_compiler_name name
	compiler = Wandbox.list.find_compiler name
	return nil unless compiler
	Compiler.new compiler
end