Skip to content

Commit

Permalink
gah, another hangover from intending to go further than year/month/da…
Browse files Browse the repository at this point in the history
…y (which I will one day)
  • Loading branch information
justinfrench committed Dec 31, 2008
1 parent fbc988c commit 6ba4cd0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/active_time.rb
Expand Up @@ -44,8 +44,7 @@ def range
return :custom if @year.nil?
return :year if @month.nil?
return :month if @day.nil?
return :day if @hour.nil?
return :hour
return :day
end

# Allows association calls similar to has_many to be called on the ActiveTime object, with the
Expand Down

0 comments on commit 6ba4cd0

Please sign in to comment.