Module: BetterUUID::StateFile

Extended by:
StateFile
Included in:
StateFile
Defined in:
lib/better-uuid/state_file.rb

Constant Summary collapse

FILENAME =
'better-uuid.ruby.marshall'

Instance Method Summary collapse

Instance Method Details

#update(clock = nil, mac_addr = nil) ⇒ Object



12
13
14
15
16
# File 'lib/better-uuid/state_file.rb', line 12

def update(clock = nil, mac_addr = nil)
  result = change_state(clock, mac_addr)
  start_background_writer
  result
end