Created
June 2, 2019 22:02
-
-
Save jjuliano/64cadcc657478c8e5a6303fcbcb474e7 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
fruits = ["Apple", "Mango", "Orange", "Banana"] | |
fruits.any? { |word| word.length < 4 } # false | |
fruits.any? { |word| word.length > 5 } # true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment