8 lines
235 B
Ruby
Executable file
8 lines
235 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
|
|
libs = []
|
|
|
|
libs << 'irb/completion'
|
|
libs << File.join('lib', 'load_fixtures')
|
|
|
|
exec "#{irb} -Ilib:test#{libs.map{ |l| " -r #{l}" }.join} --simple-prompt"
|