A Ruby gem of core extensions and extra utilities.
core_extensionsNumeric.clamp(low, high): clamp a number to the given range
utilstime.rbhms_format(d): format an ActiveSupport Duration as hours:minutes:secondsduration_seconds(d): format an AS Duration as seconds, rounded to nearest intduration_hours(d): format an ASD as hours, to two decimal placesduration_days_floor(d): how many days are in the given ASDhuman_dh_format(d): humanized duration string, like "2 days and 3.75 hours" or "1.25 hours"
prongs is licensed under the MIT License.