Class: Gts::UptimeCommand

Inherits:
Command
  • Object
show all
Defined in:
lib/gts/commands/uptime_command.rb

Instance Attribute Summary

Attributes inherited from Command

#args

Instance Method Summary collapse

Methods inherited from Command

execute, known_commands_descriptions, register

Instance Method Details

#executeObject



9
10
11
# File 'lib/gts/commands/uptime_command.rb', line 9

def execute
  Gts.server.uptime 
end