Module: CapUtil::Time::InstanceMethods

Defined in:
lib/cap-util/time.rb

Instance Method Summary collapse

Instance Method Details

#time(name, &block) ⇒ Object



30
31
32
33
# File 'lib/cap-util/time.rb', line 30

def time(name, &block)
  @cap_util_timers ||= {}
  CapUtil.time(@cap_util_timers, name, &block)
end