Class: CM::Plugin::DiskConfiguration

Inherits:
Object
  • Object
show all
Defined in:
lib/core/plugin/disk_configuration.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.register_idsObject



10
11
12
# File 'lib/core/plugin/disk_configuration.rb', line 10

def self.register_ids
  [ :name, :path ]
end

Instance Method Details

#config_errorObject



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

#pathObject


Property accessors / modifiers



28
29
30
# File 'lib/core/plugin/disk_configuration.rb', line 28

def path
  _get(:path)
end

#translator_errorObject




34
35
36
# File 'lib/core/plugin/disk_configuration.rb', line 34

def translator_error
  _get(:translator_error, 'translator')
end