Feature #2442
[irb] interactive help
| Status: | Closed | Start date: | 12/05/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | lib | |||
| Target version: | 1.9.2 |
Description
なかだです。
riのinteractive modeをirbから使えるようにするというのはどうでしょ
うか。
Index: lib/irb/cmd/help.rb
===================================================================
--- lib/irb/cmd/help.rb (revision 25998)
+++ lib/irb/cmd/help.rb (working copy)
@@ -22,4 +22,8 @@ module IRB
else
def execute(*names)
+ if names.empty?
+ Ri.interactive
+ return
+ end
names.each do |name|
begin
--
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
中田 伸悦
Associated revisions
* lib/irb/cmd/help.rb (IRB::ExtendCommand::Help#execute): use RI
interactive mode if no argument. [ruby-dev:39839]
History
Updated by Nobuyoshi Nakada about 2 years ago
- Category set to lib
- Assignee set to Keiju Ishitsuka
- Priority changed from Low to Normal
- Target version set to 1.9.2
Updated by Keiju Ishitsuka almost 2 years ago
なかださん 中田さんにコミットお願いしてよろしいですか?
Updated by Kazuhiro NISHIYAMA almost 2 years ago
- Status changed from Open to Assigned
- Assignee changed from Keiju Ishitsuka to Nobuyoshi Nakada
- Start date set to 12/05/2009
Updated by Nobuyoshi Nakada almost 2 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r27254. Nobuyoshi, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.