Mega Code Archive

 
Categories / Ruby / String
 

Next works for numbers represented as strings

"2007".next # => "2008"