diff --git a/lib/tty-prompt.rb b/lib/tty-prompt.rb index b235244c..42ef03f7 100644 --- a/lib/tty-prompt.rb +++ b/lib/tty-prompt.rb @@ -1,4 +1,2 @@ -# encoding: utf-8 - require_relative 'tty/prompt' require_relative 'tty/test_prompt' diff --git a/lib/tty/prompt.rb b/lib/tty/prompt.rb index ccfec50e..423c7533 100644 --- a/lib/tty/prompt.rb +++ b/lib/tty/prompt.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true require 'forwardable' diff --git a/lib/tty/prompt/answers_collector.rb b/lib/tty/prompt/answers_collector.rb index 15eee966..5dbc39bb 100644 --- a/lib/tty/prompt/answers_collector.rb +++ b/lib/tty/prompt/answers_collector.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true module TTY diff --git a/lib/tty/prompt/choice.rb b/lib/tty/prompt/choice.rb index 1f68ecfd..721ecb83 100644 --- a/lib/tty/prompt/choice.rb +++ b/lib/tty/prompt/choice.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true module TTY diff --git a/lib/tty/prompt/choices.rb b/lib/tty/prompt/choices.rb index e5cc786d..b8d2108f 100644 --- a/lib/tty/prompt/choices.rb +++ b/lib/tty/prompt/choices.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true require 'forwardable' diff --git a/lib/tty/prompt/confirm_question.rb b/lib/tty/prompt/confirm_question.rb index 64b7f620..e56d2ba9 100644 --- a/lib/tty/prompt/confirm_question.rb +++ b/lib/tty/prompt/confirm_question.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true require_relative 'question' diff --git a/lib/tty/prompt/converter_dsl.rb b/lib/tty/prompt/converter_dsl.rb index aecd579d..503e7b2f 100644 --- a/lib/tty/prompt/converter_dsl.rb +++ b/lib/tty/prompt/converter_dsl.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true require_relative 'converter_registry' diff --git a/lib/tty/prompt/converter_registry.rb b/lib/tty/prompt/converter_registry.rb index 9e8ec3a1..cf6553ec 100644 --- a/lib/tty/prompt/converter_registry.rb +++ b/lib/tty/prompt/converter_registry.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true module TTY diff --git a/lib/tty/prompt/converters.rb b/lib/tty/prompt/converters.rb index 40ca09c6..5366f280 100644 --- a/lib/tty/prompt/converters.rb +++ b/lib/tty/prompt/converters.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true require 'pathname' diff --git a/lib/tty/prompt/distance.rb b/lib/tty/prompt/distance.rb index 1851a097..89915189 100644 --- a/lib/tty/prompt/distance.rb +++ b/lib/tty/prompt/distance.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true module TTY diff --git a/lib/tty/prompt/enum_list.rb b/lib/tty/prompt/enum_list.rb index 8d98aba4..b63f7672 100644 --- a/lib/tty/prompt/enum_list.rb +++ b/lib/tty/prompt/enum_list.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true require 'English' diff --git a/lib/tty/prompt/enum_paginator.rb b/lib/tty/prompt/enum_paginator.rb index db5ff29b..a0a566b5 100644 --- a/lib/tty/prompt/enum_paginator.rb +++ b/lib/tty/prompt/enum_paginator.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true require_relative 'paginator' diff --git a/lib/tty/prompt/evaluator.rb b/lib/tty/prompt/evaluator.rb index fed5e5e9..7edc4420 100644 --- a/lib/tty/prompt/evaluator.rb +++ b/lib/tty/prompt/evaluator.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true require_relative 'result' diff --git a/lib/tty/prompt/expander.rb b/lib/tty/prompt/expander.rb index ba0ff05f..9781a7a2 100644 --- a/lib/tty/prompt/expander.rb +++ b/lib/tty/prompt/expander.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true require_relative 'choices' diff --git a/lib/tty/prompt/keypress.rb b/lib/tty/prompt/keypress.rb index a1d015bd..c492b516 100644 --- a/lib/tty/prompt/keypress.rb +++ b/lib/tty/prompt/keypress.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true require_relative 'question' diff --git a/lib/tty/prompt/list.rb b/lib/tty/prompt/list.rb index 9776f362..b46f6e0d 100644 --- a/lib/tty/prompt/list.rb +++ b/lib/tty/prompt/list.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true require 'English' diff --git a/lib/tty/prompt/mask_question.rb b/lib/tty/prompt/mask_question.rb index a22a575d..24b61b52 100644 --- a/lib/tty/prompt/mask_question.rb +++ b/lib/tty/prompt/mask_question.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true require_relative 'question' diff --git a/lib/tty/prompt/multi_list.rb b/lib/tty/prompt/multi_list.rb index ee16f6eb..ddfdf6d9 100644 --- a/lib/tty/prompt/multi_list.rb +++ b/lib/tty/prompt/multi_list.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true require_relative 'list' diff --git a/lib/tty/prompt/multiline.rb b/lib/tty/prompt/multiline.rb index 4813796c..bc8fa40b 100644 --- a/lib/tty/prompt/multiline.rb +++ b/lib/tty/prompt/multiline.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true require_relative 'question' diff --git a/lib/tty/prompt/paginator.rb b/lib/tty/prompt/paginator.rb index 5cd7792e..2fba4eba 100644 --- a/lib/tty/prompt/paginator.rb +++ b/lib/tty/prompt/paginator.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true module TTY diff --git a/lib/tty/prompt/question.rb b/lib/tty/prompt/question.rb index 65899b14..144fceea 100644 --- a/lib/tty/prompt/question.rb +++ b/lib/tty/prompt/question.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true require_relative 'converters' diff --git a/lib/tty/prompt/question/checks.rb b/lib/tty/prompt/question/checks.rb index 37a29cfa..56f3e449 100644 --- a/lib/tty/prompt/question/checks.rb +++ b/lib/tty/prompt/question/checks.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true module TTY diff --git a/lib/tty/prompt/question/modifier.rb b/lib/tty/prompt/question/modifier.rb index 0f263ca7..d86ee47f 100644 --- a/lib/tty/prompt/question/modifier.rb +++ b/lib/tty/prompt/question/modifier.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true module TTY diff --git a/lib/tty/prompt/question/validation.rb b/lib/tty/prompt/question/validation.rb index ca44e7be..c26c720d 100644 --- a/lib/tty/prompt/question/validation.rb +++ b/lib/tty/prompt/question/validation.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true module TTY diff --git a/lib/tty/prompt/result.rb b/lib/tty/prompt/result.rb index 882edc0c..962e70d4 100644 --- a/lib/tty/prompt/result.rb +++ b/lib/tty/prompt/result.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true module TTY diff --git a/lib/tty/prompt/slider.rb b/lib/tty/prompt/slider.rb index 8ab8003b..8f02ac5a 100644 --- a/lib/tty/prompt/slider.rb +++ b/lib/tty/prompt/slider.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true require_relative 'symbols' diff --git a/lib/tty/prompt/statement.rb b/lib/tty/prompt/statement.rb index af7e699e..3e4e34a6 100644 --- a/lib/tty/prompt/statement.rb +++ b/lib/tty/prompt/statement.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true module TTY diff --git a/lib/tty/prompt/suggestion.rb b/lib/tty/prompt/suggestion.rb index aaf181e6..9b6014dc 100644 --- a/lib/tty/prompt/suggestion.rb +++ b/lib/tty/prompt/suggestion.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true require_relative 'distance' diff --git a/lib/tty/prompt/symbols.rb b/lib/tty/prompt/symbols.rb index af87937b..d0ece6c7 100644 --- a/lib/tty/prompt/symbols.rb +++ b/lib/tty/prompt/symbols.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true module TTY diff --git a/lib/tty/prompt/timeout.rb b/lib/tty/prompt/timeout.rb index 06d813dc..4d601ca2 100644 --- a/lib/tty/prompt/timeout.rb +++ b/lib/tty/prompt/timeout.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true require 'timers' diff --git a/lib/tty/prompt/utils.rb b/lib/tty/prompt/utils.rb index f7d70ceb..42a7c549 100644 --- a/lib/tty/prompt/utils.rb +++ b/lib/tty/prompt/utils.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true module TTY diff --git a/lib/tty/test_prompt.rb b/lib/tty/test_prompt.rb index 0e3c1575..429ab083 100644 --- a/lib/tty/test_prompt.rb +++ b/lib/tty/test_prompt.rb @@ -1,4 +1,3 @@ -# encoding: utf-8 # frozen_string_literal: true require_relative 'prompt'