51 |
# see:: FreeRIDE::DataBus::Slot |
# see:: FreeRIDE::DataBus::Slot |
52 |
# |
# |
53 |
def databus_notify(event, slot) |
def databus_notify(event, slot) |
54 |
if event == :notify_data_set |
save if event == :notify_data_set |
55 |
DefaultPropertiesReader.save(@base_slot, @filespec, @name, @version) |
end |
56 |
end |
|
57 |
|
def prune(path) |
58 |
|
@base_slot[path].prune |
59 |
|
save |
60 |
end |
end |
61 |
|
|
62 |
## |
## |
79 |
@base_slot[path].data = value |
@base_slot[path].data = value |
80 |
end |
end |
81 |
|
|
82 |
|
## |
83 |
|
# Persists the properties file using the defined PropertiesReader |
84 |
|
# |
85 |
|
def save |
86 |
|
DefaultPropertiesReader.save(@base_slot, @filespec, @name, @version) |
87 |
|
end |
88 |
|
|
89 |
end |
end |
90 |
end |
end |