lib/prompts/select_prompt.rb in prompts-0.2.1 vs lib/prompts/select_prompt.rb in prompts-0.3.0
- old
+ new
@@ -27,10 +27,10 @@
# standard:enable Style/TrivialAccessors
def prepare_content
super
@options.each_with_index do |(key, value), index|
- @content.paragraph Fmt("%{prefix}faint|bold %{option}", prefix: "#{index + 1}.", option: value)
+ @content.paragraph Fmt("%{prefix}|>faint|>bold %{option}", prefix: "#{index + 1}.", option: value)
end
@content
end
private