Ruby Tip: Speeding up Ranges
using Range#cover? instead of Range#include? for Dates and Time Ranges
using Range#cover? instead of Range#include? for Dates and Time Ranges
Phil Balchin is a full-time software developer at Heroku (a Salesforce company) and part-time photographer living in Guildford, Surrey, UK. Specialising in software development and photography, Phil also writes about graphic design, personal productivity, and travel.