Sha256: f2442943cdadd6fd8337d1f0f6fdb4bb776d9f26dab02ee0f4f08db779b5507f

Contents?: true

Size: 242 Bytes

Versions: 20

Compression:

Stored size: 242 Bytes

Contents

#!/usr/bin/env ruby
# encoding: utf-8

require "rubygems"
require "highline/import"

puts "Using: #{HighLine.default_instance.terminal.class}"
puts

pass = ask("Enter your password:  ") { |q| q.echo = false }
puts "Your password is #{pass}!"

Version data entries

20 entries across 19 versions & 3 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/highline-3.1.1/examples/password.rb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/highline-3.1.1/examples/password.rb
highline-3.1.2 examples/password.rb
highline-3.1.1 examples/password.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/highline-3.0.1/examples/password.rb
highline-3.1.0 examples/password.rb
highline-3.0.1 examples/password.rb
highline-3.0.0 examples/password.rb
highline-3.0.0.pre.1 examples/password.rb
highline-2.1.0 examples/password.rb
highline-2.0.3 examples/password.rb
highline-2.0.2 examples/password.rb
highline-2.0.1 examples/password.rb
highline-2.0.0 examples/password.rb
highline-2.0.0.pre.develop.16 examples/password.rb
highline-2.0.0.pre.develop.15 examples/password.rb
highline-2.0.0.pre.develop.14 examples/password.rb
highline-2.0.0.pre.develop.13 examples/password.rb
highline-2.0.0.pre.develop.12 examples/password.rb
highline-2.0.0.pre.develop.11 examples/password.rb