Last active
January 4, 2016 05:39
-
-
Save ccapndave/8577089 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version = "1.0.1" | |
# Can I do this in a neat one-liner? | |
parts = version.split('.') | |
parts[2] = parts[2].to_i.next | |
version = parts.join('.') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment