Sha256: 2a994489ee4a86fa6e65f69127db926c6b36037af21c51162406c702c9e4d711

Contents?: true

Size: 438 Bytes

Versions: 2

Compression:

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
woahdae-consumer-0.8.1 script/console
woahdae-consumer-0.8.2 script/console