Sha256: 7619b4c07acca32fdbf75c039fd38e74e9595c2d2f8d8db5f30620f50dfcb0a8
Contents?: true
Size: 614 Bytes
Versions: 4
Compression:
Stored size: 614 Bytes
Contents
class AlgorithmBubbleSort < Jeka::Algorithm add_tests File.join(File.dirname(__FILE__), '_tests', '**', '_test_*.rb') implementation 'c++' do |imp| imp.information = {language: 'c++', comment: 'Simple implementation in C++'} imp.compiler = Jeka::Compiler::Gpp.new([File.join(File.dirname(__FILE__), 'cpp', 'bubble_sort.cpp')], {:o => 'bubble_sort_cpp'}) end implementation 'ruby' do |imp| imp.information = {language: 'ruby', comment: 'Simple implementation in Ruby'} imp.compiler = Jeka::Compiler::Ruby.new(File.join(File.dirname(__FILE__), 'ruby', 'bubble_sort.rb')) end end
Version data entries
4 entries across 4 versions & 1 rubygems