Class: HumanDurationStatic
- Inherits:
-
Object
- Object
- HumanDurationStatic
- Defined in:
- lib/human_duration.rb
Overview
Doc here
Class Method Summary collapse
Class Method Details
.humanize(seconds, config = { 'type' => 'compact' }) ⇒ Object
5 6 7 8 |
# File 'lib/human_duration.rb', line 5 def self.humanize(seconds, config = { 'type' => 'compact' }) hd = HumanDuration.new(config) hd.humanize(seconds) end |