Sha256: ca686b78fcfd3d78285e851f480898a10dfacd8f0bbdddb4a77086de1a2c3387

Contents?: true

Size: 438 Bytes

Versions: 3

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
marekj-watirloo-0.0.2 script/console
marekj-watirloo-0.0.3 script/console
marekj-watirloo-0.0.5 script/console