Sha256: 4dfdc1c6f03142b1f524274504648afb1d148519b209ce91467e9e30455be95b

Contents?: true

Size: 436 Bytes

Versions: 1

Compression:

Stored size: 436 Bytes

Contents

#!/usr/bin/env ruby
# File: script/console
irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'

libs =  " -r irb/completion"
# Perhaps use a console_lib to store any extra methods I may want available in the cosole
# libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}"
libs <<  " -r #{File.dirname(__FILE__) + '/../lib/doctest.rb'}"
puts "Loading doctest gem"
exec "#{irb} #{libs} --simple-prompt"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
doctest-0.0.1 script/console