method
source_path

source_path(relative_source)
public
Return the full path from the source root for the given path. Example for source_root = ’/source':
source_path('some/path.rb') == '/source/some/path.rb'
The given path may include a colon ’:’ character to indicate that the file belongs to another generator. This notation allows any generator to borrow files from another. Example:
source_path('model:fixture.yml') = '/model/source/path/fixture.yml'