Issue #12496 has been reported by Fei Song.

----------------------------------------
Bug #12496: [DOC] Suggestion to clear usage of String.intern
https://bugs.ruby-lang.org/issues/12496

* Author: Fei Song
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: 
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
The usage notes of String.intern 
http://ruby-doc.org/core-2.3.1/String.html#method-i-intern

is exactly a copy of String.to_sym

http://ruby-doc.org/core-2.3.1/String.html#method-i-to_sym

which might cause confusion.

Which is a better solution, tell users they are almost same, or explain each method individually? 



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>