Exception: OsCtld::DeviceInheritNeeded
- Inherits:
-
DeviceInUse
- Object
- StandardError
- DeviceInUse
- OsCtld::DeviceInheritNeeded
- Defined in:
- lib/osctld/exceptions.rb
Instance Method Summary collapse
-
#initialize(entity) ⇒ DeviceInheritNeeded
constructor
A new instance of DeviceInheritNeeded.
Constructor Details
#initialize(entity) ⇒ DeviceInheritNeeded
Returns a new instance of DeviceInheritNeeded.
54 55 56 |
# File 'lib/osctld/exceptions.rb', line 54 def initialize(entity) super("#{entity.ident} would lose access to the device") end |