diff options
author | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-07-05 07:59:41 -0300 |
---|---|---|
committer | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-07-07 05:31:45 -0300 |
commit | c61eb2098f60a4c631125bd970421de22314c313 (patch) | |
tree | e84d6721c081675469131cc777d3a344c87d17b7 /examples | |
parent | fd5de3951ad12a60da529f6e20250a2627023003 (diff) | |
download | highline-c61eb2098f60a4c631125bd970421de22314c313.tar.gz |
Enforce double quotes on strings
Diffstat (limited to 'examples')
-rw-r--r-- | examples/color_scheme.rb | 4 | ||||
-rw-r--r-- | examples/overwrite.rb | 4 | ||||
-rw-r--r-- | examples/repeat_entry.rb | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/examples/color_scheme.rb b/examples/color_scheme.rb index 1889483..5c00c9a 100644 --- a/examples/color_scheme.rb +++ b/examples/color_scheme.rb @@ -5,8 +5,8 @@ # Created by Jeremy Hinegardner on 2007-01-24 # Copyright 2007 Jeremy Hinegardner. All rights reserved -require 'rubygems' -require 'highline/import' +require "rubygems" +require "highline/import" # Create a color scheme, naming color patterns with symbol names. ft = HighLine::ColorScheme.new do |cs| diff --git a/examples/overwrite.rb b/examples/overwrite.rb index cd02090..22e0544 100644 --- a/examples/overwrite.rb +++ b/examples/overwrite.rb @@ -5,8 +5,8 @@ # Created by Jeremy Hinegardner on 2007-01-24 # Copyright 2007 Jeremy Hinegardner. All rights reserved -require 'rubygems' -require 'highline/import' +require "rubygems" +require "highline/import" puts "Using: #{HighLine.default_instance.terminal.class}" puts diff --git a/examples/repeat_entry.rb b/examples/repeat_entry.rb index 35cdbbd..2052ef9 100644 --- a/examples/repeat_entry.rb +++ b/examples/repeat_entry.rb @@ -16,10 +16,10 @@ end puts "Ok, you did it." pass = ask("<%= key %>: ") do |q| - q.echo = '*' + q.echo = "*" q.verify_match = true - q.gather = { "Enter a password" => '', - "Please type it again for verification" => '' } + q.gather = { "Enter a password" => "", + "Please type it again for verification" => "" } end puts "Your password is now #{pass}!" |