Class: Hive::Device::Shell
- Inherits:
-
Hive::Device
- Object
- Hive::Device
- Hive::Device::Shell
- Defined in:
- lib/hive/device/shell.rb
Overview
The Shell device
Instance Attribute Summary
Attributes inherited from Hive::Device
#port_allocator, #status, #type
Instance Method Summary collapse
-
#initialize(config) ⇒ Shell
constructor
A new instance of Shell.
Methods inherited from Hive::Device
#==, #claimed?, #identity, #running?, #start, #stop, #worker_pid
Constructor Details
#initialize(config) ⇒ Shell
Returns a new instance of Shell.
7 8 9 10 11 |
# File 'lib/hive/device/shell.rb', line 7 def initialize(config) Hive.logger.info(" In the shell device constructor") @identity = config['id'] super end |