aboutsummaryrefslogtreecommitdiff
path: root/lib/keyringer/actions/decrypt.rb
blob: 8fdd175dc7b378576ae9dd8dc99a4214acb93480 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
module Keyringer
  module Actions
    class Decrypt
      def execute
        filename = $args[0]
        crypt    = Keyring::Crypt.new
        output   = crypt.decrypt(filename)
        return output
      end
    end
  end
end