Method: Timeclock::Clock.put_log_string

Defined in:
lib/timeclock/clock.rb

.put_log_string(contents) ⇒ Object



26
27
28
# File 'lib/timeclock/clock.rb', line 26

def put_log_string(contents)
  File.open(log_file, "w").write(contents)
end