require 'time' get_time = ->(t) { [t.iso8601, t.usec] } report = 'something to report with a detailed time: %s' puts report % get_time[Time.now]