Sha256: 9c3e2ba9d19ff186c37646f48c01b62abecdde1fd4ed7c64b6f117d6f0c60a98

Contents?: true

Size: 408 Bytes

Versions: 53

Compression:

Stored size: 408 Bytes

Contents

if defined? IRB

  begin
    require 'irb/completion'
 # this one can fail if readline isn't installed
  rescue Exception
  end
  begin
    IRB.conf[:AUTO_INDENT] = true
    IRB.conf[:PROMPT_MODE] = :SIMPLE 
    #require 'irb/ext/save-history' # this one might mess with peoples' local settings of it tho...
  rescue Exception
    # guess this was some *other* IRB module? defined elsewhere?
  end

end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
sane-0.25.6 lib/sane/irb_startup_options.rb
sane-0.25.5 lib/sane/irb_startup_options.rb
sane-0.25.4 lib/sane/irb_startup_options.rb
sane-0.25.3 lib/sane/irb_startup_options.rb
sane-0.25.2 lib/sane/irb_startup_options.rb
sane-0.25.1 lib/sane/irb_startup_options.rb
sane-0.25.0 lib/sane/irb_startup_options.rb
sane-0.24.6 lib/sane/irb_startup_options.rb
sane-0.24.5 lib/sane/irb_startup_options.rb
sane-0.24.4 lib/sane/irb_startup_options.rb
sane-0.24.3 lib/sane/irb_startup_options.rb
sane-0.23.6 lib/sane/irb_startup_options.rb
sane-0.24.2 lib/sane/irb_startup_options.rb
sane-0.24.1 lib/sane/irb_startup_options.rb
sane-0.24.0 lib/sane/irb_startup_options.rb
sane-0.23.5 lib/sane/irb_startup_options.rb
sane-0.23.4 lib/sane/irb_startup_options.rb
sane-0.23.3 lib/sane/irb_startup_options.rb
sane-0.23.2 lib/sane/irb_startup_options.rb
sane-0.23.1 lib/sane/irb_startup_options.rb