method

inside

inside(dir = "", config = {}, &block)
public

Do something in the root or on a provided subfolder. If a relative path is given it’s referenced from the current root. The full path is yielded to the block you provide. The path is set back to the previous path when the method exits.

Parameters

dir

the directory to move to.

config

give :verbose => true to log and use padding.