Sha256: a0941970775b42c061b1f8e615e40adc4d6509c6b72e6379901c7f021bc23110

Contents?: true

Size: 308 Bytes

Versions: 1

Compression:

Stored size: 308 Bytes

Contents

module Lockness
  class Show

    attr_reader :secret_file

    def initialize
      @secret_file = SecretFile.new
    end

    def show
      if secret_file.exist?
        puts Content.new.plain
      else
        puts "No file at #{secret_file.encrypted_path}"

        exit 1
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lockness-0.1.0 lib/lockness/show.rb