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
47
48
49
|
# File 'lib/osctld/devices/configurator.rb', line 47
def owner
@owner
end
|
Instance Method Details
#add_device(device) ⇒ Object
19
20
21
|
# File 'lib/osctld/devices/configurator.rb', line 19
def add_device(device)
end
|
#apply_changes(changes) ⇒ Object
34
35
36
|
# File 'lib/osctld/devices/configurator.rb', line 34
def apply_changes(changes)
end
|
#dup(new_owner) ⇒ Object
39
40
41
42
43
|
# File 'lib/osctld/devices/configurator.rb', line 39
def dup(new_owner)
ret = super()
ret.instance_variable_set('@owner', new_owner)
ret
end
|
#init(devices) ⇒ Object
14
15
16
|
# File 'lib/osctld/devices/configurator.rb', line 14
def init(devices)
end
|
29
30
31
|
# File 'lib/osctld/devices/configurator.rb', line 29
def reconfigure(devices)
end
|
#remove_device(device) ⇒ Object
24
25
26
|
# File 'lib/osctld/devices/configurator.rb', line 24
def remove_device(device)
end
|