mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 20:19:19 +00:00
9 lines
257 B
Plaintext
9 lines
257 B
Plaintext
Returns the Symbol object derived from +self+,
|
|
creating it if it did not already exist:
|
|
|
|
'foo'.intern # => :foo
|
|
'こんにちは'.intern # => :こんにちは
|
|
|
|
Related: see {Converting to Non-String}[rdoc-ref:String@Converting+to+Non--5CString].
|
|
|