method

plugin_dir

rails latest stable - Class: Rails::Generators::PluginGenerator

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.1.0) is shown here.

plugin_dir(join=nil)
protected

No documentation available.

# File railties/lib/rails/generators/rails/plugin/plugin_generator.rb, line 44
        def plugin_dir(join=nil)
          if join
            File.join(plugin_dir, join)
          else
            "vendor/plugins/#{file_name}"
          end
        end