2 lines
89 B
Text
2 lines
89 B
Text
#Convert to integer, increment, then back to string
|
|
p ("100".to_i + 1).to_s #Prints 101
|