Class: Integer
- Inherits:
-
Numeric
- Object
- Numeric
- Integer
- Defined in:
- lib/artoo/utility.rb
Overview
just a bit of syntactic sugar, actually does nothing Example:
20.seconds => 20
1.second => 1
Instance Method Summary collapse
Instance Method Details
#second ⇒ Object
36 37 38 |
# File 'lib/artoo/utility.rb', line 36 def second return self end |
#seconds ⇒ Object
32 33 34 |
# File 'lib/artoo/utility.rb', line 32 def seconds return self end |