module TimeDistribution::TimeRefinement

Public Instance Methods

count_forward_to(time) click to toggle source
# File lib/time_distribution/time.rb, line 7
def count_forward_to(time)
  (time - self) + if self > time
    24 * 60 * 60
  else
    0
  end
end