DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUBY
filter through array of arrays ruby
array = [1, 2, 3, 4, 5, 6] array.select { |number| number > 3 } # => [4, 5, 6]
Source by riptutorial.com #
PREVIOUS
NEXT
Tagged:
#filter
#array
#arrays
#ruby
ADD COMMENT
Topic
COMMENT
Name
9+3 =
Submit