Skip to content

Fix TTY::Prompt#multi_select return type #208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/.bundle/
/.idea/
/.ruby-version
/.ruby-gemset
/.yardoc
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change log

## [v0.23.2] - 2025-01-03

### Changed

* TTY::Prompt#multi_select return type to `[Array<String>]`

## [v0.23.1] - 2021-04-17

### Changed
Expand Down
2 changes: 1 addition & 1 deletion lib/tty/prompt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def select(question, *args, &block)
# @param [Array[Object]] choices
# the choices to select from
#
# @return [String]
# @return [Array<String>]
#
# @api public
def multi_select(question, *args, &block)
Expand Down
2 changes: 1 addition & 1 deletion lib/tty/prompt/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module TTY
class Prompt
VERSION = "0.23.1"
VERSION = "0.23.2"
end # Prompt
end # TTY