add implementation of respond_to? for ActiveSupport::Duration
Merge pull request #16574 from lsylvester/duration-respond_to

add implementation of respond_to? for ActiveSupport::Duration