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