Padrino::Generators::Actions::ClassMethods
Module: Padrino::Generators::Actions::ClassMethods
Overview
Class methods for Thor generators to support the generators and component choices.
Instance Method Summary
-
#available_choices_for(component) ⇒ Array<Symbol>
Returns the list of available choices for the given component (including none). -
#component_option(name, caption, options = {}) ⇒ Object
Defines a class option t