Class: Redmine::Installer::Plugin::RedminePlugin
- Defined in:
- lib/redmine-installer/plugins/redmine_plugin.rb
Direct Known Subclasses
Class Method Summary collapse
-
.am_i_there? ⇒ Boolean
Search plugins folder.
- .final ⇒ Object
Methods inherited from Base
Methods included from Utils
Class Method Details
.am_i_there? ⇒ Boolean
Search plugins folder
5 6 7 8 9 10 11 12 |
# File 'lib/redmine-installer/plugins/redmine_plugin.rb', line 5 def self.am_i_there? records = Dir.glob(File.join('plugins', '*')) records.map! do |record| File.basename(record) end records.include?(self.class_name.downcase) end |
.final ⇒ Object
14 15 |
# File 'lib/redmine-installer/plugins/redmine_plugin.rb', line 14 def self.final(*) end |