I'm pretty sure to_int just isn't part of the ISO spec that mruby tries to conform to. It was probably an oversight that calls to to_int were introduced when they should have been calls to to_i instead.