Sha256: 0f926f60279d52098c3d4cdffb1d259ba024225b6c8850b1e67ff8cb462641b1

Contents?: true

Size: 101 Bytes

Versions: 10

Compression:

Stored size: 101 Bytes

Contents

ARRAY = [*1..100]

ARRAY.select { |x| x.eql?(15) }.first

ARRAY.select do |x|
  x.eql?(15)
end.first

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fasterer-0.1.9 spec/support/analyzer/12_select_first_vs_detect.rb
fasterer-0.1.8 spec/support/analyzer/12_select_first_vs_detect.rb
fasterer-0.1.7 spec/support/analyzer/12_select_first_vs_detect.rb
fasterer-0.1.6 spec/support/analyzer/12_select_first_vs_detect.rb
fasterer-0.1.5 spec/support/analyzer/12_select_first_vs_detect.rb
fasterer-0.1.4 spec/support/analyzer/12_select_first_vs_detect.rb
fasterer-0.1.3 spec/support/analyzer/12_select_first_vs_detect.rb
fasterer-0.1.2 spec/support/analyzer/12_select_first_vs_detect.rb
fasterer-0.1.1 spec/support/analyzer/12_select_first_vs_detect.rb
fasterer-0.1.0 spec/support/analyzer/12_select_first_vs_detect.rb