class Integer
Adds syntactic suger for seconds
Public Instance Methods
second()
click to toggle source
@return [Integer] Plain number, actually does nothing @example 1.second => 1
# File lib/artoo/ext/numeric.rb, line 11 def second return self end
seconds()
click to toggle source
@return [Integer] Plain number, actually does nothing @example 20.seconds => 20
# File lib/artoo/ext/numeric.rb, line 5 def seconds return self end