Public: Units of days (86400 seconds).
# File lib/god/sugar.rb, line 27 def days self * 86400 end
Units of gigabytes (1,048,576 kilobytes).
# File lib/god/sugar.rb, line 51 def gigabytes self * (1024 ** 2) end
Public: Units of hours (3600 seconds).
# File lib/god/sugar.rb, line 19 def hours self * 3600 end
Units of kilobytes.
# File lib/god/sugar.rb, line 35 def kilobytes self end
Units of megabytes (1024 kilobytes).
# File lib/god/sugar.rb, line 43 def megabytes self * 1024 end
Public: Units of minutes (60 seconds).
# File lib/god/sugar.rb, line 11 def minutes self * 60 end
Units of percent. e.g. 50.percent.
# File lib/god/sugar.rb, line 59 def percent self end
Public: Units of seconds.
# File lib/god/sugar.rb, line 3 def seconds self end
Generated with the Darkfish Rdoc Generator 2.