Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 306 Bytes

unused-variable-format.md

File metadata and controls

20 lines (15 loc) · 306 Bytes

Unused variable format

  [
    ['Someone', 41, 'another field'],
    ['Someone2', 42, 'another field2'],
    ['Someone3', 43, 'another field3']
  ].each do |name,_,_|
    p name
  end

# Result:
# "Someone"
# "Someone2"
# "Someone3"

View Source