-
Notifications
You must be signed in to change notification settings - Fork 440
Closed
Description
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()
------------------------------------------------------------------------------
Metadata
Metadata
Assignees
Labels
No labels