method

destination_path

rails latest stable - Class: Rails::Generator::Base

Method deprecated or moved

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

destination_path(relative_destination)
public

Return the full path from the destination root for the given path. Example for destination_root = ’/dest’:

  destination_path('some/path.rb') == '/dest/some/path.rb'