exe/clock_window in clock_window-0.0.2 vs exe/clock_window in clock_window-0.0.3

- old
+ new

@@ -1,13 +1,14 @@ #!/usr/bin/env ruby +require 'neatjson' require 'clock_window' @hash = {} begin loop do - sleep 15 x = ClockWindow::ClockIt.new.active_window @hash[x] = @hash[x].to_f + 0.25 + sleep 15 end ensure @hash = {"*---------- WINDOW NAME ----------*" => "minutes"}.merge(@hash) File.open("timelog.json","w") do |f| f.write(JSON.neat_generate(@hash,aligned:true,around_colon:1))