Sha256: 5ef11f0eb8c881e9bc1aa8ac76e6a14463210200478bc70f84b8dbdd33394405

Contents?: true

Size: 444 Bytes

Versions: 4

Compression:

Stored size: 444 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/sort_it_out.rb'}"
puts "Loading sort_it_out gem"
exec "#{irb} #{libs} --simple-prompt"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sort_it_out-1.0.0 script/console
sort_it_out-0.9.2 script/console
sort_it_out-0.9.1 script/console
sort_it_out-0.9.0 script/console