diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-05-03 08:26:20 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-05-03 15:30:59 +0900 |
| commit | ce054bd078168bf9a6fa41031b1bcd25a0b3f040 (patch) | |
| tree | 28ffc0fd7d04a6a9dd56c335d3c070d0060a3ad7 /mrbgems/mruby-string-ext/src | |
| parent | 24dcd252f83e97bd1dbcb7abec9de3a77c28709b (diff) | |
| download | mruby-ce054bd078168bf9a6fa41031b1bcd25a0b3f040.tar.gz mruby-ce054bd078168bf9a6fa41031b1bcd25a0b3f040.zip | |
symbol.c: remove `Symbol#id2sym`.
In the ancient Ruby, symbols are represented by integers. In that era,
to get string representation from integers, we used `Integer#id2sym`
method. Later, `Symbol` was introduced, and `id2sym` was used for
compatibility. Today, no one uses `id2sym` any longer. It is described
in ISO 30170:2012 standard but I consider it as a mistake.
Diffstat (limited to 'mrbgems/mruby-string-ext/src')
0 files changed, 0 insertions, 0 deletions
