Sha256: 56751dce186f511c596906706bd294b9041f09dfc6b50dbbba0a2c0d7e5fd180
Contents?: true
Size: 366 Bytes
Versions: 4
Compression:
Stored size: 366 Bytes
Contents
module Retest class Command class Ruby < Base def to_s if file_system.exist? 'Gemfile.lock' 'bundle exec ruby <test>' else 'ruby <test>' end end def format_batch(*files) files.size > 1 ? %Q{-e "#{files.map { |file| "require './#{file}';" }.join}"} : files.first end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
retest-2.0.1 | lib/retest/command/ruby.rb |
retest-2.0.0 | lib/retest/command/ruby.rb |
retest-2.0.0.pre5 | lib/retest/command/ruby.rb |
retest-2.0.0.pre4 | lib/retest/command/ruby.rb |