Sha256: ade38499e8081a327ff3adc654ab732433ee3b422558454b32c1c1f1ae50a65e

Contents?: true

Size: 442 Bytes

Versions: 6

Compression:

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
votesmart-0.4.1 script/console
votesmart-0.4.0 script/console
votesmart-0.3.3 script/console
votesmart-0.3.2 script/console
votesmart-0.3.1 script/console
votesmart-0.3.0 script/console