Today I Learned

TIL, 2017-05-30

  • .present? and .blank? can be the interface method that is used when detecting falsity: false, nil, [], {}, ‘’, and ‘ ‘ return false when present?
  • .present? and .blank? are also just available in Rails.
  • nil doesn’t respond to empty?. Photo
  • Skype shortcuts: Cmd-Shift-M : Mute.
  • Ruby pluralize: first argument for the singular, second for the plural (IKR).

This project is maintained by daryllxd