class InstallGemLocal::Helper
Public Class Methods
flash_message(title: '')
click to toggle source
# File lib/install_gem_local/helper.rb, line 16 def flash_message(title: '') message = <<-STR █████ ███████ █ █ ██ █ █ ██ █ █ ██ ███ █ █ ██ █ █ █████ ███████ ███████ #{title} STR end
prompt_options(options:, flash_message:, color: :green, selected_color: :bold, flash_color: :green)
click to toggle source
# File lib/install_gem_local/helper.rb, line 6 def prompt_options(options:, flash_message:, color: :green, selected_color: :bold, flash_color: :green) Downup::Base.new( flash_message: flash_message, options: options, default_color: color, selected_color: selected_color, flash_color: flash_color ).prompt end