Created
January 12, 2016 15:48
-
-
Save chuck0523/d0f98652ace027e6bfb0 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
array = [1, 3, 7] | |
puts array.include? 1 # true | |
puts array.include? 2 # false | |
puts array.include? 3 # true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment