module Milestoner
Main namespace.
Computes duration (in seconds) into human readable years, days, hours, minutes, and seconds.
Constants
- DURATION_UNITS
- Dependencies
- Durationer
Public Class Methods
Source
# File lib/milestoner.rb, line 18 def self.loader registry = Zeitwerk::Registry @loader ||= registry.loaders.each.find { |loader| loader.tag == File.basename(__FILE__, ".rb") } end