Sha256: 0f97a5db34e76afb653c68c7814fce2509e6b98e32a2527804443b63ef5bcfb6

Contents?: true

Size: 444 Bytes

Versions: 2

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
natural_key-1.0.0 script/console
natural_key-0.2.2 script/console