Class: Numeric
- Inherits:
-
Object
- Object
- Numeric
- Defined in:
- lib/universa_tools/commons.rb
Instance Method Summary collapse
Instance Method Details
#days ⇒ Object
186 187 188 |
# File 'lib/universa_tools/commons.rb', line 186 def days self*86400 end |
#hours ⇒ Object
182 183 184 |
# File 'lib/universa_tools/commons.rb', line 182 def hours self*3600 end |
#minutes ⇒ Object
178 179 180 |
# File 'lib/universa_tools/commons.rb', line 178 def minutes self*60 end |
#seconds ⇒ Object
174 175 176 |
# File 'lib/universa_tools/commons.rb', line 174 def seconds self end |