Project

General

Profile

Bug #12496

Updated by nobu (Nobuyoshi Nakada) almost 8 years ago

The usage notes of `String#intern` 
 String.intern  
 http://ruby-doc.org/core-2.3.1/String.html#method-i-intern 

 is exactly a copy of `String.to_sym` 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?

Back