summaryrefslogtreecommitdiffhomepage
path: root/test/t/symbol.rb
AgeCommit message (Collapse)Author
2021-05-03symbol.c: remove `Symbol#id2sym`.Yukihiro "Matz" Matsumoto
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.
2019-03-25Remove implementation of `Symbol#===`KOBAYASHI Shuji
For reducing program size.
2018-09-20Move `Symbol#to_proc` to the core from `mruby-symbol-ext` gem.Yukihiro "Matz" Matsumoto
Even though `Symbol#to_proc` is not included in ISO standard, the `some_method(&:method_name)` is used very widely and convenient. So we moved it to the core.
2016-11-04add quoted symbol tests; ref #3231Yukihiro "Matz" Matsumoto
2014-06-15Move direct superclass checking to `test/t/superclass.rb`.take_cheeze
2013-08-02I fix order of actual and expect test value in symbol.rb.Jun Hiroe
2013-06-14Improve Symbol TestsDaniel Bovensiepen
2012-06-03Add more superclass testsDaniel Bovensiepen
2012-05-29Add Test cases for Literals, Enumeration, Exceptions and clean line endingsDaniel Bovensiepen
2012-05-19Complete ISO test cases for Hash, Range, String and SymbolDaniel Bovensiepen