parts()
Returns a copy of the parts hash that defines the duration.
5.minutes.parts # => {:minutes=>5} 3.years.parts # => {:years=>3}
# File activesupport/lib/active_support/duration.rb, line 241 def parts @parts.dup end