Sha256: c6381ba2e4559e8ccb13e57ff93226add9a06f9c2420680ff1c74492a9439ad7

Contents?: true

Size: 365 Bytes

Versions: 69

Compression:

Stored size: 365 Bytes

Contents

module <%= plugin_module_name %>
  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

69 entries across 69 versions & 1 rubygems

Version Path
power_stencil-0.10.0 etc/templates/plugin_definition/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.9.8 etc/templates/plugin_definition/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.9.7 etc/templates/plugin_definition/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.9.6 etc/templates/plugin_definition/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.9.5 etc/templates/plugin_definition/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.9.4 etc/templates/plugin_definition/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.9.3 etc/templates/plugin_definition/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.9.2 etc/templates/plugin_definition/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.9.1 etc/templates/plugin_definition/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.9.0 etc/templates/plugin_definition/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.8.14 etc/templates/plugin_definition/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.8.13 etc/templates/plugin_definition/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.8.12 etc/templates/plugin_definition/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.8.11 etc/templates/plugin_definition/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.8.10 etc/templates/plugin_definition/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.8.9 etc/templates/plugin_definition/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.8.8 etc/templates/plugin_definition/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.8.7 etc/templates/plugin_definition/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.8.6 etc/templates/plugin_definition/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.8.5 etc/templates/plugin_definition/lib/{entity}/plugin_helper.rb.erb