Class: Hive::Device::Shell

Inherits:
Hive::Device show all
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

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