#root(*args) ⇒ String
Helper method for file references within a Padrino module. #dependency_paths ⇒ Array<String>
Returns the list of path globs to load as dependencies. #gem!(name) ⇒ Object
Register this module as being loaded from a gem. Helper method for file references within a Padrino module.
Returns the list of path globs to load as dependencies. Appends custom dependency patterns to the be loaded for Padrino.
Register this module as being loaded from a gem. This automatically sets the root and therefore the dependency paths correctly.
© 2010–2019 Padrino
Licensed under the MIT License.
https://www.rubydoc.info/github/padrino/padrino-framework/Padrino/Module