method

parts

rails latest stable - Class: ActiveSupport::Duration
parts()
public

Returns a copy of the parts hash that defines the duration