# Class: Fixnum

Extends fixunum class for some date/time shortcuts.

# Public Instance Methods

### days ()

Convert number of days to seconds (self)

Show source...

         # File bbs/lib/rubyclass_extensions.rb, line 109
    109:   def days
    110:     self * 60 * 60 * 24
    111:   end

### hour ()

Alias for hours when using a single hour grammar

Show source...

         # File bbs/lib/rubyclass_extensions.rb, line 103
    103:   def hour
    104:     self * 60 * 60
    105:   end

### hours ()

Convert number of hours to seconds (self).

Show source...

         # File bbs/lib/rubyclass_extensions.rb, line 99
     99:   def hours
    100:     self * 60 * 60
    101:   end

### minutes ()

Convert number of minutes to seconds (self).

Show source...

        # File bbs/lib/rubyclass_extensions.rb, line 94
    94:   def minutes
    95:     self * 60
    96:   end

### sec_to_min ()

Convert Seconds to Minutes

Show source...

         # File bbs/lib/rubyclass_extensions.rb, line 113
    113:   def sec_to_min
    114:     self / 60
    115:   end

### seconds ()

Default fixnum class is in seconds (self).

Show source...

        # File bbs/lib/rubyclass_extensions.rb, line 89
    89:   def seconds
    90:     self
    91:   end