Module: CitrusMonitor::Utils
- Included in:
- ProcessMonitor, SystemMonitor
- Defined in:
- lib/citrus-monitor/util/utils.rb
Overview
Utils
Instance Method Summary collapse
-
#get_current_time ⇒ String
Get current time in yyyy-mm-dd hh:mm:ss format.
Instance Method Details
#get_current_time ⇒ String
Get current time in yyyy-mm-dd hh:mm:ss format
13 14 15 |
# File 'lib/citrus-monitor/util/utils.rb', line 13 def get_current_time Time.now.strftime("%Y-%m-%d %H:%M:%S") end |