Sha256: ce57721a137d0120c0efb7a9221734910b1a56f9d9ba07af83783f9e32fd5d43

Contents?: true

Size: 448 Bytes

Versions: 9

Compression:

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
event_emitter-0.2.0 script/console
event_emitter-0.1.0 script/console
event_emitter-0.0.7 script/console
event_emitter-0.0.6 script/console
event_emitter-0.0.5 script/console
event_emitter-0.0.4 script/console
event_emitter-0.0.3 script/console
event_emitter-0.0.2 script/console
event_emitter-0.0.1 script/console