Skip to content

ri aliased-method does not show useful information #588

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
znz opened this issue Jan 18, 2018 · 0 comments · Fixed by #591
Closed

ri aliased-method does not show useful information #588

znz opened this issue Jan 18, 2018 · 0 comments · Fixed by #591

Comments

@znz
Copy link
Member

znz commented Jan 18, 2018

For example, https://docs.ruby-lang.org/en/2.5.0/Array.html#method-i-to_s says Alias for: inspect, but ri 'Array#to_s' does not show such information.

%  ri 'Array#inspect' | cat
= Array#inspect

(from ruby core)
------------------------------------------------------------------------------
  ary.inspect  -> string
  ary.to_s     -> string

------------------------------------------------------------------------------

Creates a string representation of self.

  [ "a", "b", "c" ].to_s     #=> "[\"a\", \"b\", \"c\"]"


%  ri 'Array#to_s' | cat
= Array#to_s

(from ruby core)
------------------------------------------------------------------------------
  to_s()

------------------------------------------------------------------------------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant