Class: LazyRails::PromptGenerators::Base
- Inherits:
-
Object
- Object
- LazyRails::PromptGenerators::Base
- Defined in:
- lib/lazy_rails/prompt_generators.rb
Direct Known Subclasses
AskAppName, SelectAppType, SelectCss, SelectDb, SelectJs, SelectTools
Instance Attribute Summary collapse
-
#prompt ⇒ Object
readonly
Returns the value of attribute prompt.
Instance Method Summary collapse
-
#initialize(prompt) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(prompt) ⇒ Base
Returns a new instance of Base.
6 7 8 |
# File 'lib/lazy_rails/prompt_generators.rb', line 6 def initialize(prompt) @prompt = prompt end |
Instance Attribute Details
#prompt ⇒ Object (readonly)
Returns the value of attribute prompt.
4 5 6 |
# File 'lib/lazy_rails/prompt_generators.rb', line 4 def prompt @prompt end |