Sha256: bed3a805ef17d9c6f8bbfaef4f09cf8f065bdb0ccb3022f7b5eca980ba1fa977

Contents?: true

Size: 256 Bytes

Versions: 10

Compression:

Stored size: 256 Bytes

Contents

require 'tty-prompt'

module PolyglotIos
  module Helper
    module Terminal

      def success(message = 'Success!')
        prompt.ok(message)
      end

      def prompt
        @prompt ||= TTY::Prompt.new(interrupt: :exit)
      end

    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ios_polyglot_cli-2.5.1 lib/ios_polyglot_cli/helpers/terminal.rb
ios_polyglot_cli-2.5.0 lib/ios_polyglot_cli/helpers/terminal.rb
ios_polyglot_cli-2.4.0 lib/ios_polyglot_cli/helpers/terminal.rb
ios_polyglot_cli-2.3.0 lib/ios_polyglot_cli/helpers/terminal.rb
ios_polyglot_cli-2.2.2 lib/ios_polyglot_cli/helpers/terminal.rb
ios_polyglot_cli-2.2.1 lib/ios_polyglot_cli/helpers/terminal.rb
ios_polyglot_cli-2.2.0 lib/ios_polyglot_cli/helpers/terminal.rb
ios_polyglot_cli-2.1.1 lib/ios_polyglot_cli/helpers/terminal.rb
ios_polyglot_cli-2.1.0 lib/ios_polyglot_cli/helpers/terminal.rb
ios_polyglot_cli-2.0.1 lib/ios_polyglot_cli/helpers/terminal.rb