Skip to content

Commit

Permalink
Fix typo in slider and list show_help
Browse files Browse the repository at this point in the history
  • Loading branch information
Geekfish committed May 14, 2021
1 parent 2dff133 commit f849efe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/tty/prompt/list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def help(value = (not_set = true))
#
# @api public
def show_help(value = (not_set = true))
return @show_ehlp if not_set
return @show_help if not_set

@show_help = value
end
Expand Down
2 changes: 1 addition & 1 deletion lib/tty/prompt/slider.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def help(text = (not_set = true))
#
# @api public
def show_help(value = (not_set = true))
return @show_ehlp if not_set
return @show_help if not_set

@show_help = value
end
Expand Down

0 comments on commit f849efe

Please sign in to comment.