class Async::Clock
def self.measure
@yields {...} The block to execute.
Measure the execution of a block of code.
def self.measure start_time = self.now yield return self.now - start_time end
def self.measure start_time = self.now yield return self.now - start_time end