comparison .irbrc @ 113:886502b61509

Make irb be smarter.
author Augie Fackler <durin42@gmail.com>
date Mon, 22 Jun 2009 13:33:59 -0500
parents
children b2d9ac793cb0
comparison
equal deleted inserted replaced
112:57cbf4b59097 113:886502b61509
1 # -*- mode:ruby -*-
2 IRB.conf[:AUTO_INDENT] = true
3 IRB.conf[:USE_READLINE] = true
4 IRB.conf[:LOAD_MODULES] = [] unless IRB.conf.key?(:LOAD_MODULES)
5 unless IRB.conf[:LOAD_MODULES].include?('irb/completion')
6 IRB.conf[:LOAD_MODULES] << 'irb/completion'
7 end