Class: Second

Inherits:
Seconds show all
Defined in:
lib/duration/time_units/second.rb

Constant Summary

Constants inherited from Duration

Duration::MULTIPLES, Duration::UNITS, Duration::VERSION

Instance Attribute Summary

Attributes inherited from Duration

#days, #hours, #minutes, #months, #seconds, #total, #weeks, #years

Instance Method Summary collapse

Methods inherited from Duration

#%, #*, #+, #-, #/, #<=>, #blank?, #format, #iso8601, #present?

Constructor Details

#initializeSecond

Returns a new instance of Second.



8
9
10
# File 'lib/duration/time_units/second.rb', line 8

def initialize
	super(1)
end