title: How to check if variable is Date or Time or DateTime in Ruby?
body: <p>Any easy way to check if a variable / object is of <code>Date</code> / <code>Time</code> / <code>DateTime</code> type? Without naming all the types</p>