Sha256: a53362d5603cb7b28440f191b2e26ea49573a69bbb41c9c81c2474329aba1f54

Contents?: true

Size: 435 Bytes

Versions: 1

Compression:

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enigma-0.0.1 script/console