method

relative_path

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

Method deprecated or moved

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

relative_path()
protected

No documentation available.

# File railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb, line 362
      def relative_path
        return unless inside_application?
        app_path.sub(/^#{rails_app_path}\//, '')
      end