Module: Releases::PluginHelper

Defined in:
lib/releases/plugin_helper.rb

Instance Method Summary collapse

Instance Method Details

#command_line_definition_file_pathObject



8
9
10
# File 'lib/releases/plugin_helper.rb', line 8

def command_line_definition_file_path
  File.join plugin_root_path, 'etc', 'command_line.yaml'
end

#plugin_root_pathObject



12
13
14
# File 'lib/releases/plugin_helper.rb', line 12

def plugin_root_path
  File.expand_path File.join('..', '..', '..'), __FILE__
end

#plugin_templates_pathObject



4
5
6
# File 'lib/releases/plugin_helper.rb', line 4

def plugin_templates_path
  File.join plugin_root_path, 'etc', 'templates'
end