class Integer
Overload the integer class
Public Instance Methods
human_duration(type = 'compact')
click to toggle source
# File lib/human_duration/overloads.rb, line 7 def human_duration(type = 'compact') HumanDuration::Duration.display_type(type) HumanDuration::Duration.human_duration(self) end