/* Tab completion */

This commit is contained in:
Sven 2006-05-27 07:37:42 +00:00
parent 24848b8c8e
commit 2325668726
1 changed files with 5 additions and 3 deletions

8
Irb.mw
View File

@ -47,10 +47,12 @@ class Module
end
end
</pre>
=Tab completion=
=Tab completion und Einrückung=
<pre>
require 'irb/completion'
ARGV.concat [ "--readline", "--prompt-mode", "simple" ]
IRB.conf[:AUTO_INDENT] = true
IRB.conf[:USE_READLINE] = true
IRB.conf[:LOAD_MODULES] ||= []
IRB.conf[:LOAD_MODULES] |= ['irb/completion']
</pre>