Sha256: 9e3e1b4cf11ddadb3da9882c9b641d582b47bccdd84977f3d1490bf0150b721f

Contents?: true

Size: 364 Bytes

Versions: 69

Compression:

Stored size: 364 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.3.8 etc/meta_templates/plugin_seed/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.3.7 etc/meta_templates/plugin_seed/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.3.6 etc/meta_templates/plugin_seed/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.3.5 etc/meta_templates/plugin_seed/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.3.4 etc/meta_templates/plugin_seed/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.3.3 etc/meta_templates/plugin_seed/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.3.2 etc/meta_templates/plugin_seed/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.3.1 etc/meta_templates/plugin_seed/lib/{entity}/plugin_helper.rb.erb
power_stencil-0.3.0 etc/meta_templates/plugin_seed/lib/{entity}/plugin_helper.rb.erb