Sha256: bf7d9111e32ef8cdf5e6fe184a3ce0cbc7636f06066285fd4399dbd81963e595

Contents?: true

Size: 177 Bytes

Versions: 22

Compression:

Stored size: 177 Bytes

Contents

ARRAY = [*1..100]

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

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

ARRAY.select(&:zero?).first

ActiveRecordRelation.new.select('name').first

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
fasterer-0.1.11 spec/support/analyzer/12_select_first_vs_detect.rb
fasterer-0.1.10 spec/support/analyzer/12_select_first_vs_detect.rb