Sha256: 54d0abc17efc619c11ff7e57fdd101345557c3e6efa377c9662b76c6c6e246a8

Contents?: true

Size: 444 Bytes

Versions: 8

Compression:

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
acts_as_api-0.2.2 script/console
acts_as_api-0.2.1 script/console
acts_as_api-0.1.10 script/console
acts_as_api-0.1.7 script/console
acts_as_api-0.1.4 script/console
acts_as_api-0.0.3 script/console
acts_as_api-0.0.2 script/console
acts_as_api-0.0.1 script/console