Skip to content
  • Yukihiro "Matz" Matsumoto's avatar
    ce054bd0
    symbol.c: remove `Symbol#id2sym`. · ce054bd0
    Yukihiro "Matz" Matsumoto authored
    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.
    ce054bd0
    symbol.c: remove `Symbol#id2sym`.
    Yukihiro "Matz" Matsumoto authored
    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.
Loading