lib/eyaml/cli.rb in eyaml-0.2.0 vs lib/eyaml/cli.rb in eyaml-0.3.0
- old
+ new
@@ -54,12 +54,12 @@
puts "Public Key: #{public_key}"
puts "Private Key: #{private_key}" unless options.fetch(:write)
end
- map e: :encrypt
- map d: :decrypt
- map g: :keygen
+ map "e" => "encrypt"
+ map "d" => "decrypt"
+ map "g" => "keygen"
def self.exit_on_failure?
true
end
end