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-15.0.1 script/console
active-fedora-15.0.0 script/console
active-fedora-14.0.1 script/console
active-fedora-14.0.0 script/console
active-fedora-13.3.0 script/console
active-fedora-12.2.4 script/console
active-fedora-13.2.7 script/console
active-fedora-13.2.5 script/console
active-fedora-13.2.4 script/console
active-fedora-12.2.3 script/console
active-fedora-13.2.3 script/console
active-fedora-13.2.2 script/console
active-fedora-13.2.0 script/console
active-fedora-13.1.3 script/console
active-fedora-11.5.6 script/console
active-fedora-12.2.2 script/console
active-fedora-9.0.8 script/console
active-fedora-11.2.1 script/console
active-fedora-12.2.1 script/console
active-fedora-12.0.3 script/console