Sha256: 1a56fde3974452342404718bbcf08a6d61128cd4696a84cd524061737190b812

Contents?: true

Size: 468 Bytes

Versions: 4

Compression:

Stored size: 468 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 'active_record' -r '#{File.dirname(__FILE__) + '/../lib/phone_number.rb'}'"

puts "Loading phone number gem"
exec "#{irb} #{libs} --simple-prompt"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
phone_number-1.3.0 script/console
phone_number-1.2.0 script/console
phone_number-1.1.0 script/console
phone_number-1.0.0 script/console