Sha256: f78517731ddb0f89eb1666dca97657a476b38f204692406e20ac18494c460fc2

Contents?: true

Size: 345 Bytes

Versions: 148

Compression:

Stored size: 345 Bytes

Contents

#!/usr/bin/env ruby
# File: script/console
irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'

requires = %w{ irb/completion samples/samples }
includes = %w{ lib spec }

def to_param(flag, items)
  items.map{|lib| "#{flag} #{lib}"}.join(' ')
end

exec "#{irb} #{to_param('-I', includes)} #{to_param('-r', requires)} --simple-prompt"


Version data entries

148 entries across 148 versions & 1 rubygems

Version Path
active-fedora-7.2.0 script/console
active-fedora-11.0.1 script/console
active-fedora-11.0.0 script/console
active-fedora-10.3.0.rc2 script/console
active-fedora-11.0.0.rc7 script/console
active-fedora-10.3.0.rc1 script/console
active-fedora-11.0.0.rc6 script/console
active-fedora-10.2.1 script/console
active-fedora-11.0.0.rc5 script/console
active-fedora-11.0.0.rc4 script/console
active-fedora-10.2.0 script/console
active-fedora-11.0.0.rc3 script/console
active-fedora-11.0.0.rc2 script/console
active-fedora-11.0.0.rc1 script/console
active-fedora-10.1.0 script/console
active-fedora-10.1.0.rc1 script/console
active-fedora-9.7.2 script/console
active-fedora-10.0.0 script/console
active-fedora-10.0.0.beta4 script/console
active-fedora-10.0.0.beta3 script/console