Module: PunchTime

Extended by:
Forwardable
Defined in:
lib/punch_time.rb,
lib/punch_time/error.rb,
lib/punch_time/version.rb,
lib/punch_time/time_record.rb,
lib/punch_time/configuration.rb

Defined Under Namespace

Classes: Configuration, Error, TimeRecord

Constant Summary collapse

VERSION =
'0.1.6'

Class Method Summary collapse

Class Method Details

.configure(&config) ⇒ Object



14
15
16
# File 'lib/punch_time.rb', line 14

def configure(&config)
  Thread.current[:time_record] = TimeRecord.new(&config)
end