Created
September 30, 2018 05:47
-
-
Save supersimple/04e1437b346609b255cf7c2db8da2024 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
iex(9)> v = Version.parse!("1.0.0-alpha.3+20130417140000") | |
#Version<1.0.0-alpha.3+20130417140000> | |
iex(10)> v.build | |
"20130417140000" | |
iex(11)> v.pre | |
["alpha", 3] | |
iex(12)> v.patch | |
0 | |
iex(13)> v.minor | |
0 | |
iex(14)> v.major | |
1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment