Skip to content

Instantly share code, notes, and snippets.



Created Jan 12, 2016
What would you like to do?
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