Sha256: 9c974f7205bc09b4e3143b9cc83b45da78f6ccb57d4b4edacef43361f012d303

Contents?: true

Size: 791 Bytes

Versions: 3

Compression:

Stored size: 791 Bytes

Contents

# frozen_string_literal: true

module InstallGemLocal
  class Helper
    class << self
      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

      def flash_message(title: '')
        message = <<-STR
    █████   ███████   █
      █     ██        █
      █     ██        █
      █     ██  ███   █
      █     ██    █   █
    █████   ███████   ███████ #{title}
        STR
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
install_gem_local-1.0.1 lib/install_gem_local/helper.rb
install_gem_local-1.0.0 lib/install_gem_local/helper.rb
install_gem_local-0.1.20 lib/install_gem_local/helper.rb