Today I Learned

TIL, 2017-04-13

  • Join via reject? [street_addres, city, state].reject(&:empty?).join(' ')
  • Refactoring in Vim: find . -type f -exec gsed -i '' -e 's/Matches::Scoring::OverallMatchFinalScoreComputation/Matches::Scoring::Computations::OverallMatchFinalScore/g' {} +
  • tap + pop to remove the last element of an array. Reference if you don’t want to assign an extra variable.

This project is maintained by daryllxd