Created
November 17, 2015 22:38
-
-
Save kkchu791/a73a766887f85506d66c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
s = 'key=value' | |
array = s.split("=") | |
s1 = array[0] | |
s2 = array[1] | |
puts s1 | |
puts s2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment