Sha256: 793021210dc5004a0b37ef7829f6638e7802b1cf684f460e05815f5497bb09e6

Contents?: true

Size: 433 Bytes

Versions: 3

Compression:

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
topsy-0.2.1 script/console
topsy-0.3.0 script/console
topsy-0.2.0 script/console