Class: OnlyofficeTestrailWrapper::SystemHelper
- Inherits:
-
Object
- Object
- OnlyofficeTestrailWrapper::SystemHelper
- Defined in:
- lib/onlyoffice_testrail_wrapper/helpers/system_helper.rb
Overview
Stuff for working with OS
Class Method Summary collapse
-
.hostname ⇒ String
Name of current host.
Class Method Details
.hostname ⇒ String
Returns name of current host.
10 11 12 13 14 |
# File 'lib/onlyoffice_testrail_wrapper/helpers/system_helper.rb', line 10 def hostname name = Socket.gethostname OnlyofficeLoggerHelper.log("hostname is: #{name}") name end |