aboutsummaryrefslogtreecommitdiff
path: root/lib/keyringer/decrypt.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/keyringer/decrypt.rb')
-rw-r--r--lib/keyringer/decrypt.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/keyringer/decrypt.rb b/lib/keyringer/decrypt.rb
new file mode 100644
index 0000000..9f872aa
--- /dev/null
+++ b/lib/keyringer/decrypt.rb
@@ -0,0 +1,10 @@
+module Keyringer
+ class Decrypt
+ def execute
+ filename = ARGV[2]
+ crypt = Keyring::Crypt.new
+ output = crypt.decrypt(filename)
+ return output
+ end
+ end
+end