method

inside

inside(dir = '', &block)
protected

Do something in the root of the Rails application or a provided subfolder; the full path is yielded to the block you provide. The path is set back to the previous path when the method exits.