method
inside
v2.3.8 -
Show latest stable
- Class:
Rails::TemplateRunner
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.