public Method

Base.destination_path(relative_destination)

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'

Source Code

# File rails_generator/base.rb, line 152
def destination_path(relative_destination)
  File.join(destination_root, relative_destination)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.