class DateTime

def end_of_minute

Returns a new DateTime representing the end of the minute (hh:mm:59).
def end_of_minute
  change(:sec => 59)
end