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