Sha256: 103a66433b57fcd988f2714821f802e95058ab179d216d306aa13eb5f54f0575

Contents?: true

Size: 440 Bytes

Versions: 3

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/ruby-mpfi.rb'}"
puts "Loading ruby-mpfi gem"
exec "#{irb} #{libs} --simple-prompt"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-mpfi-0.0.4 script/console
ruby-mpfi-0.0.3 script/console
ruby-mpfi-0.0.2 script/console