It seems to have be asked several times, but I couldn't find any answer to this question: how can I get the path of the current project? (from a plugin)
TIA
while self.living? do
mistake = Mistake.new
self.learn_from!(mistake) unless mistake.fatal?
endNo, it is still a kludge, but yes I have do have a way to get the project path. In general, it is pretty straight forward, but the file you have to parse isn't always up to date...meaning you can't get the project path unless you force this particular file to update. That is were it gets ugly.
greg wrote:I see... do you think it's better to have the user explicitly set the path in some config file?
Users browsing this forum: mrogur and 9 guests