Sha256: 2c121cf7883b658a61cc79eb32fc951e3402d376ef3e268b06ed07b0e4929614

Contents?: true

Size: 786 Bytes

Versions: 7

Compression:

Stored size: 786 Bytes

Contents

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
    title
      end

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
install_gem_local-0.1.18 lib/install_gem_local/helper.rb
install_gem_local-0.1.17 lib/install_gem_local/helper.rb
install_gem_local-0.1.16 lib/install_gem_local/helper.rb
install_gem_local-0.1.15 lib/install_gem_local/helper.rb
install_gem_local-0.1.14 lib/install_gem_local/helper.rb
install_gem_local-0.1.13 lib/install_gem_local/helper.rb
install_gem_local-0.1.12 lib/install_gem_local/helper.rb