Sha256: 9855673014ef144a3170a3b8e72a11fb143ed50fd9ddef46051ffd8fc0057b96

Contents?: true

Size: 348 Bytes

Versions: 2

Compression:

Stored size: 348 Bytes

Contents

module Releases
  module PluginHelper

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

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

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

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
psplugin_releases-0.1.2 lib/releases/plugin_helper.rb
psplugin_releases-0.1.1 lib/releases/plugin_helper.rb