Sha256: fd0d205404f755e15ea10f41d33b26f11f9ae04a44b80ad4f5e0712e6f69ad35

Contents?: true

Size: 440 Bytes

Versions: 4

Compression:

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

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
notch8-alter-ego-1.0.1 script/console
notch8-alter-ego-1.0.2 script/console
alter-ego-1.0.1 script/console
alter-ego-1.0.0 script/console