Sha256: acf8f68565f2c81208b86d77618c0323f76a782e1d11535bb510ffb1607e3741

Contents?: true

Size: 459 Bytes

Versions: 2

Compression:

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
struct_packing-0.0.3 script/console
struct_packing-0.0.2 script/console