Skip to content

Commit

Permalink
removing redundant splatted assignment in to_beats
Browse files Browse the repository at this point in the history
  • Loading branch information
joho committed Jul 1, 2008
1 parent 961fdfe commit d2ca0a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion time_ext.rb
@@ -1,7 +1,7 @@
class Time
# stupid swatch and their dotcom boom digital wristwatches
def to_beats
seconds, minutes, hours, *everything_else = getutc.to_a
seconds, minutes, hours = getutc.to_a
(((hours + 1) * 3600 + (minutes * 60) + seconds) / 86.4).to_i
end
alias to_internet_time to_beats
Expand Down

0 comments on commit d2ca0a4

Please sign in to comment.