Class: BundleUpdateInteractive::CLI::MultiSelect::List
- Inherits:
-
TTY::Prompt::MultiList
- Object
- TTY::Prompt::MultiList
- BundleUpdateInteractive::CLI::MultiSelect::List
- Defined in:
- lib/bundle_update_interactive/cli/multi_select.rb
Instance Method Summary collapse
-
#initialize(prompt, **options) ⇒ List
constructor
A new instance of List.
- #selected_names ⇒ Object
Constructor Details
#initialize(prompt, **options) ⇒ List
Returns a new instance of List.
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/bundle_update_interactive/cli/multi_select.rb', line 10 def initialize(prompt, **) defaults = { cycle: true, help_color: :itself.to_proc, per_page: [TTY::Prompt::Paginator::DEFAULT_PAGE_SIZE, TTY::Screen.height.to_i - 3].max, quiet: true, show_help: :always } super(prompt, **defaults.merge()) end |
Instance Method Details
#selected_names ⇒ Object
21 22 23 |
# File 'lib/bundle_update_interactive/cli/multi_select.rb', line 21 def selected_names "" end |