Project

General

Profile

Actions

Bug #3760

closed

help "String.new" (for example) no longer works in irb

Added by pragdave (Dave Thomas) over 13 years ago. Updated over 12 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]
Backport:
[ruby-core:31927]

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

bug3760.patch (1.04 KB) bug3760.patch eitoball (Eito Katagiri), 09/02/2010 09:29 PM

Related issues 1 (0 open1 closed)

Has duplicate Ruby master - Bug #3992: irb's "help" command errs in 1.9.xRejectedkeiju (Keiju Ishitsuka)10/28/2010Actions
Actions #1

Updated by eitoball (Eito Katagiri) over 13 years ago

=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

Actions #2

Updated by shyouhei (Shyouhei Urabe) over 13 years ago

  • Status changed from Open to Feedback

=begin

=end

Actions #3

Updated by naruse (Yui NARUSE) over 13 years ago

  • Status changed from Feedback to Rejected

=begin
No feedback.
=end

Actions #4

Updated by runpaint (Run Paint Run Run) about 13 years ago

=begin
Please reopen.

RUBY_REVISION
=> 30404
help 'String.new'
NoMethodError: undefined method get_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:in each' 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:in execute' 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:in irb_help' from (irb):7:in irb_binding'
from /usr/local/lib/ruby/1.9.1/irb/workspace.rb:80:in eval' 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:in evaluate' 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:in signal_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:in block (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:in block 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:in each_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:in block 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:in start' from /usr/local/bin/irb:12:in 'Maybe IRB bug!

=end

Actions #5

Updated by naruse (Yui NARUSE) about 13 years ago

  • Status changed from Rejected to Assigned
  • Assignee set to keiju (Keiju Ishitsuka)

=begin

=end

Updated by ko1 (Koichi Sasada) almost 13 years ago

Keiju, how about it?

Actions #7

Updated by nahi (Hiroshi Nakamura) almost 13 years ago

  • Target version set to 1.9.3
Actions #8

Updated by keiju (Keiju Ishitsuka) over 12 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].
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0