Created
September 7, 2016 12:20
-
-
Save luctraonmilin/fbb3769fb69e9af505af541de258bd6e 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
# OK so I found this in a code base I am currently working on... | |
def parse_boolean(string) | |
string == 'true' ? true : false | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment