module CitrusMonitor::Utils

Utils

Public Instance Methods

get_current_time() click to toggle source

Get current time in yyyy-mm-dd hh:mm:ss format

@return [String]

# File lib/citrus-monitor/util/utils.rb, line 13
def get_current_time
  Time.now.strftime("%Y-%m-%d %H:%M:%S")
end