Sha256: a2e64cd9b7905837c8b908c7c4197c93af0d1f8ef9651a83d33b2bd3e91645a5

Contents?: true

Size: 426 Bytes

Versions: 20

Compression:

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

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
tw-0.3.7 script/console
tw-0.3.6 script/console
tw-0.3.5 script/console
tw-0.3.4 script/console
tw-0.3.3 script/console
tw-0.3.2 script/console
tw-0.3.1 script/console
tw-0.3.0 script/console
tw-0.2.6 script/console
tw-0.2.5 script/console
tw-0.2.4 script/console
tw-0.2.3 script/console
tw-0.2.2 script/console
tw-0.2.1 script/console
tw-0.2.0 script/console
tw-0.1.1 script/console
tw-0.1.0 script/console
tw-0.0.3 script/console
tw-0.0.2 script/console
tw-0.0.1 script/console