Class: CM::Configuration::File
- Inherits:
-
Object
- Object
- CM::Configuration::File
- Defined in:
- lib/CM/configuration/file.rb
Instance Method Summary collapse
-
#normalize(reload) ⇒ Object
—————————————————————————– Plugin interface.
-
#parse(wipe = true) ⇒ Object
—————————————————————————– Operations.
-
#save ⇒ Object
—.
Instance Method Details
#normalize(reload) ⇒ Object
Plugin interface
9 10 11 12 |
# File 'lib/CM/configuration/file.rb', line 9 def normalize(reload) super yield if block_given? end |
#parse(wipe = true) ⇒ Object
Operations
23 24 25 26 27 |
# File 'lib/CM/configuration/file.rb', line 23 def parse(wipe = true) super do import_file(path) end end |
#save ⇒ Object
31 32 33 34 35 |
# File 'lib/CM/configuration/file.rb', line 31 def save super do save_config(path, export) end end |