method
new
new(value, parts)
public
Hide source
# File activesupport/lib/active_support/duration.rb, line 10 def initialize(value, parts) #:nodoc: @value, @parts = value, parts end