Re: duplicated methods?

Hugh Sasse <[email protected]> Wed, 21 Oct 2009 17:09:00 +0100 (BST)
Newsgroups gmane.comp.lang.ruby.documentation
Message-ID <[email protected]>
On Wed, 21 Oct 2009, Roger Pack wrote:

> $ ri Object
> ...
>      prepare_wc_input, pretty, pretty_print, pretty_print_cycle, print,
>      printHeader, print_full_board, print_profile, print_results,
>      private_methods, proc_call, proc_return1, proc_return2,
>      proc_return3, proc_return4, proc_yield, program_name, prompt,
>      protected_methods, prunable, public_methods, public_send, puts, r,
>      r, r, r, r, r, r, r, r, r, r, r, r, r, r, r, r, r, r, r, r, r, r,
>      r, r, r, r, r, r, r, r, r, r, r, r, r, r, r, r, r, r, r, r, r, r,
>      r, r, r, r, r, r, r, r, r, r, r, r, r, r, r, r, r, r, r, r,
>      raise_if_conflict, reject, release, remove, require_relative,
>      respond_to?, revcomp, rl, rm, rmdir, ruby2html, ruby_exec,
>      ruby_exec, runfile, save, search, send, separator, server, server,
>      set_cbreak, set_valid_byte_pattern, setpiece, setup, shift_test,
> 
> repeats? a method r?
> 
> Is this expected?
> Thanks.
> -r
> 

reject, release, rmdir suggests you are looking at more than core
ruby.  I can't remember how to determine where (usually gems, IIRC)
the other methods come from.... Oh,
ri -i Object
should give you an interactive mode where you can explore this. 

        HTH
        Hugh