class ActiveSupport::Duration

def parts

Returns a copy of the parts hash that defines the duration
def parts
  @parts.dup
end