Method: Raykit::Log#update_command_time
- Defined in:
- lib/raykit/log.rb
#update_command_time(command, timestamp) ⇒ Object
26 27 28 29 30 31 32 33 |
# File 'lib/raykit/log.rb', line 26 def update_command_time(command, ) command_times = {} command_times = self["command_times"] if key?("command_times") command_times.delete(command) if command_times.key?(command) command_times[command] = .iso8601 self["command_times"] = command_times save end |