Intern a string : intern « String « Ruby






Intern a string


"name".intern # => :name

 

Related examples in the same category

1.String to Symbol