summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-range-ext/mrblib/range.rb
AgeCommit message (Collapse)Author
2018-09-19Remove implicit conversion using `to_int` method.Yukihiro "Matz" Matsumoto
The ISO standard does not include implicit type conversion using `to_int`. This implicit conversion often causes vulnerability. There will be no more attacks like #4120. In addition, we have added internal convenience method `__to_int` which does type check and conversion (from floats).
2016-11-22remove unnecessary ".!"; ref #3261Yukihiro "Matz" Matsumoto
2016-11-21Reimplements Range#firstksss
Range#first shouldn't call `Range#to_a` on infinity range.