Class: Theme::Forms::ConfirmStore
- Inherits:
-
ShopifyCLI::Form
- Object
- ShopifyCLI::Form
- Theme::Forms::ConfirmStore
- Defined in:
- lib/project_types/theme/forms/confirm_store.rb
Instance Attribute Summary
Attributes inherited from ShopifyCLI::Form
Instance Method Summary collapse
Methods inherited from ShopifyCLI::Form
ask, flag_arguments, #initialize, positional_arguments
Constructor Details
This class inherits a constructor from ShopifyCLI::Form
Instance Method Details
#ask ⇒ Object
6 7 8 |
# File 'lib/project_types/theme/forms/confirm_store.rb', line 6 def ask @confirmed = force || CLI::UI::Prompt.confirm(title, default: false) end |
#confirmed? ⇒ Boolean
10 11 12 |
# File 'lib/project_types/theme/forms/confirm_store.rb', line 10 def confirmed? @confirmed end |