Class: CM::Plugin::DiskConfiguration
- Inherits:
-
Object
- Object
- CM::Plugin::DiskConfiguration
- Defined in:
- lib/core/plugin/disk_configuration.rb
Class Method Summary collapse
Instance Method Summary collapse
- #config_error ⇒ Object
-
#normalize(reload) ⇒ Object
—————————————————————————– Plugin interface.
-
#path ⇒ Object
—————————————————————————– Property accessors / modifiers.
-
#translator_error ⇒ Object
—.
Class Method Details
.register_ids ⇒ Object
10 11 12 |
# File 'lib/core/plugin/disk_configuration.rb', line 10 def self.register_ids [ :name, :path ] end |
Instance Method Details
#config_error ⇒ Object
38 39 40 |
# File 'lib/core/plugin/disk_configuration.rb', line 38 def config_error _get(:config_error, 'config') end |
#normalize(reload) ⇒ Object
Plugin interface
17 18 19 20 |
# File 'lib/core/plugin/disk_configuration.rb', line 17 def normalize(reload) super yield if block_given? end |
#path ⇒ Object
Property accessors / modifiers
28 29 30 |
# File 'lib/core/plugin/disk_configuration.rb', line 28 def path _get(:path) end |
#translator_error ⇒ Object
34 35 36 |
# File 'lib/core/plugin/disk_configuration.rb', line 34 def translator_error _get(:translator_error, 'translator') end |