Class: OsCtld::Devices::Configurator
- Inherits:
-
Object
- Object
- OsCtld::Devices::Configurator
show all
- Includes:
- OsCtl::Lib::Utils::Log
- Defined in:
- lib/osctld/devices/configurator.rb
Overview
Used to configure the system to reflect osctld settings
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
Returns a new instance of Configurator.
9
10
11
|
# File 'lib/osctld/devices/configurator.rb', line 9
def initialize(owner)
@owner = owner
end
|
Instance Attribute Details
38
39
40
|
# File 'lib/osctld/devices/configurator.rb', line 38
def owner
@owner
end
|
Instance Method Details
#add_device(device) ⇒ Object
17
|
# File 'lib/osctld/devices/configurator.rb', line 17
def add_device(device); end
|
#apply_changes(changes) ⇒ Object
26
|
# File 'lib/osctld/devices/configurator.rb', line 26
def apply_changes(changes); end
|
#dup(new_owner) ⇒ Object
29
30
31
32
33
|
# File 'lib/osctld/devices/configurator.rb', line 29
def dup(new_owner)
ret = super()
ret.instance_variable_set('@owner', new_owner)
ret
end
|
#init(devices) ⇒ Object
14
|
# File 'lib/osctld/devices/configurator.rb', line 14
def init(devices); end
|
23
|
# File 'lib/osctld/devices/configurator.rb', line 23
def reconfigure(devices); end
|
#remove_device(device) ⇒ Object
20
|
# File 'lib/osctld/devices/configurator.rb', line 20
def remove_device(device); end
|