Bug #3760
closedhelp "String.new" (for example) no longer works in irb
Description
=begin
ruby-1.9.2-p0 > help "String.new"
NoMethodError: undefined method get_info_for' for #<RDoc::RI::Driver:0x000001009d9c38> from /Users/dave/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/cmd/help.rb:29:in
block in execute'
from /Users/dave/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/cmd/help.rb:27:in `each'
. . .
Cheers
Dave
=end
Files
Updated by eitoball (Eito Katagiri) over 14 years ago
- File bug3760.patch bug3760.patch added
=begin
The attached patch should fix this issue. Please review and try the patch.
The "get_info_for" method has been removed from RDoc::RI::Driver class since r19537; when RDoc 2.2.1 r185 was imported.
=end
Updated by shyouhei (Shyouhei Urabe) about 14 years ago
- Status changed from Open to Feedback
=begin
=end
Updated by naruse (Yui NARUSE) almost 14 years ago
- Status changed from Feedback to Rejected
=begin
No feedback.
=end
Updated by runpaint (Run Paint Run Run) almost 14 years ago
=begin
Please reopen.
RUBY_REVISION
=> 30404
help 'String.new'
NoMethodError: undefined methodget_info_for' for #<RDoc::RI::Driver:0x9a6f730> from /usr/local/lib/ruby/1.9.1/irb/cmd/help.rb:29:in
block in execute'
from /usr/local/lib/ruby/1.9.1/irb/cmd/help.rb:27:ineach' from /usr/local/lib/ruby/1.9.1/irb/cmd/help.rb:27:in
execute'
from /usr/local/lib/ruby/1.9.1/irb/cmd/nop.rb:19:inexecute' from /usr/local/lib/ruby/1.9.1/irb/extend-command.rb:135:in
irb_help'
from /usr/local/lib/ruby/1.9.1/irb/extend-command.rb:138:inirb_help' from (irb):7:in
irb_binding'
from /usr/local/lib/ruby/1.9.1/irb/workspace.rb:80:ineval' from /usr/local/lib/ruby/1.9.1/irb/workspace.rb:80:in
evaluate'
from /usr/local/lib/ruby/1.9.1/irb/context.rb:254:inevaluate' from /usr/local/lib/ruby/1.9.1/irb.rb:159:in
block (2 levels) in eval_input'
from /usr/local/lib/ruby/1.9.1/irb.rb:273:insignal_status' from /usr/local/lib/ruby/1.9.1/irb.rb:156:in
block in eval_input'
from /usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:243:inblock (2 levels) in each_top_level_statement' from /usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in
loop'
from /usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:229:inblock in each_top_level_statement' from /usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in
catch'
from /usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:228:ineach_top_level_statement' from /usr/local/lib/ruby/1.9.1/irb.rb:155:in
eval_input'
from /usr/local/lib/ruby/1.9.1/irb.rb:70:inblock in start' from /usr/local/lib/ruby/1.9.1/irb.rb:69:in
catch'
from /usr/local/lib/ruby/1.9.1/irb.rb:69:instart' from /usr/local/bin/irb:12:in
'Maybe IRB bug!
=end
Updated by naruse (Yui NARUSE) almost 14 years ago
- Status changed from Rejected to Assigned
- Assignee set to keiju (Keiju Ishitsuka)
=begin
=end
Updated by ko1 (Koichi Sasada) over 13 years ago
Keiju, how about it?
Updated by nahi (Hiroshi Nakamura) over 13 years ago
- Target version set to 1.9.3
Updated by keiju (Keiju Ishitsuka) over 13 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r32286.
Dave, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- lib/irb/cmd/help.rb: support RDoc 3.7. fix [Bug #3760].