Last active
August 29, 2015 14:01
-
-
Save skatenerd/8e45271cf4d3a0dcc41f to your computer and use it in GitHub Desktop.
searching stuff
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
| [2,4,6,8,10].find do |element| | |
| element > 5 | |
| end | |
| #-> 6 | |
| ######################################################## | |
| #Ruby Hack Night | |
| ######################################################## | |
| strings_for([8,7,3,7,8,2,9]).find do |string| | |
| made_of_english_words?(string) | |
| end | |
| def made_of_english_words?(string) | |
| #??????????!!!!!!?? | |
| end | |
| def strings_for(numbers) | |
| #?????!!!!!!!!?? | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment