Module: DeviceAPI
- Defined in:
- lib/device_api.rb,
lib/device_api/device.rb,
lib/device_api/sys_log.rb,
lib/device_api/execution.rb
Defined Under Namespace
Classes: CommandTimeoutError, Device, DeviceNotFound, Execution, SysLog, UnauthorizedDevice
Constant Summary collapse
- @@log =
DeviceAPI::SysLog.new
Instance Attribute Summary collapse
-
#log ⇒ Object
Returns the value of attribute log.
Class Method Summary collapse
Instance Attribute Details
#log ⇒ Object
Returns the value of attribute log.
4 5 6 |
# File 'lib/device_api.rb', line 4 def log @log end |
Class Method Details
.log ⇒ Object
15 16 17 |
# File 'lib/device_api.rb', line 15 def self.log @@log end |
.set_logger(log) ⇒ Object
11 12 13 |
# File 'lib/device_api.rb', line 11 def self.set_logger(log) @@log = log end |