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.11.1 lib/sane/irb_startup_options.rb
sane-0.11.0 lib/sane/irb_startup_options.rb
sane-0.10.3 lib/sane/irb_startup_options.rb
sane-0.10.2 lib/sane/irb_startup_options.rb
sane-0.10.1 lib/sane/irb_startup_options.rb
sane-0.10.0 lib/sane/irb_startup_options.rb
sane-0.9.5 lib/sane/irb_startup_options.rb
sane-0.9.4 lib/sane/irb_startup_options.rb
sane-0.9.3 lib/sane/irb_startup_options.rb
sane-0.9.2 lib/sane/irb_startup_options.rb
sane-0.9.1 lib/sane/irb_startup_options.rb
sane-0.9.0 lib/sane_ruby/irb_startup_options.rb
sane-0.8.0 lib/sane_ruby/irb_startup_options.rb