Sha256: 4e1ae0a5d362570cfffeb926fe13f06376b0626551b1673b11d508534531d468

Contents?: true

Size: 432 Bytes

Versions: 4

Compression:

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
simonmenke-hosts-0.0.2 script/console
simonmenke-hosts-0.0.3 script/console
simonmenke-hosts-0.0.4 script/console
simonmenke-hosts-0.0.5 script/console