Class: Redmine::Installer::Plugin::Base
- Inherits:
-
Object
- Object
- Redmine::Installer::Plugin::Base
show all
- Includes:
- Utils
- Defined in:
- lib/redmine-installer/plugins/base.rb
Class Method Summary
collapse
Methods included from Utils
included
Class Method Details
.all ⇒ Object
11
12
13
14
15
16
17
|
# File 'lib/redmine-installer/plugins/base.rb', line 11
def self.all
unless self.instance_variable_defined?(:@all)
self.instance_variable_set(:@all, Array.new)
end
self.instance_variable_get(:@all)
end
|
.inherited(child) ⇒ Object
7
8
9
|
# File 'lib/redmine-installer/plugins/base.rb', line 7
def self.inherited(child)
all << child
end
|
.title ⇒ Object
19
20
21
|
# File 'lib/redmine-installer/plugins/base.rb', line 19
def self.title
translate("plugin.#{self.superclass.class_name.downcase}.#{self.class_name.downcase}.title")
end
|