Ranges class removed Fixnum added and instead of inject using for in loop