Class: RedminePluginSupport::RedmineHelper

Inherits:
Object
  • Object
show all
Defined in:
lib/redmine_plugin_support/redmine_helper.rb

Class Method Summary collapse

Class Method Details

.plugin_rootObject



3
4
5
# File 'lib/redmine_plugin_support/redmine_helper.rb', line 3

def self.plugin_root
  RedminePluginSupport::Base.instance.plugin_root
end

.redmine_appObject



11
12
13
# File 'lib/redmine_plugin_support/redmine_helper.rb', line 11

def self.redmine_app
  File.expand_path(RedminePluginSupport::Base.instance.redmine_root + '/app')
end

.redmine_libObject



15
16
17
# File 'lib/redmine_plugin_support/redmine_helper.rb', line 15

def self.redmine_lib
  File.expand_path(RedminePluginSupport::Base.instance.redmine_root + '/lib')
end

.redmine_rootObject



7
8
9
# File 'lib/redmine_plugin_support/redmine_helper.rb', line 7

def self.redmine_root
  RedminePluginSupport::Base.instance.redmine_root
end