Sha256: bec4bd9bca7238eaaaae9ab396b0a9d515053f0bf9bce7918ebf1bf575927cef

Contents?: true

Size: 483 Bytes

Versions: 1

Compression:

Stored size: 483 Bytes

Contents

require 'ruby_gpg2/version'
require 'ruby_gpg2/commands'
require 'ruby_gpg2/parameter_file'
require 'ruby_gpg2/colon_output'

module RubyGPG2
  class << self
    attr_writer :configuration

    def configuration
      @configuration ||= Configuration.new
    end

    def configure
      yield(configuration)
    end

    def reset!
      @configuration = nil
    end
  end

  class Configuration
    attr_accessor :binary

    def initialize
      @binary = 'gpg'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby_gpg2-0.1.0.pre.3 lib/ruby_gpg2.rb