Sha256: 0ed32d16c218875f08cafc7530f90392760d6975628ecb469f6f841bd865b77d

Contents?: true

Size: 388 Bytes

Versions: 7

Compression:

Stored size: 388 Bytes

Contents

module RubyGPG2
  module Commands
    module Mixins
      module GlobalConfig
        def configure_command(builder, opts)
          home_directory = opts[:home_directory]

          builder = super(builder, opts)
          builder = builder.with_option(
              '--homedir', home_directory, quoting: '"') if home_directory
          builder
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ruby_gpg2-0.1.0.pre.10 lib/ruby_gpg2/commands/mixins/global_config.rb
ruby_gpg2-0.1.0.pre.9 lib/ruby_gpg2/commands/mixins/global_config.rb
ruby_gpg2-0.1.0.pre.8 lib/ruby_gpg2/commands/mixins/global_config.rb
ruby_gpg2-0.1.0.pre.7 lib/ruby_gpg2/commands/mixins/global_config.rb
ruby_gpg2-0.1.0.pre.6 lib/ruby_gpg2/commands/mixins/global_config.rb
ruby_gpg2-0.1.0.pre.5 lib/ruby_gpg2/commands/mixins/global_config.rb
ruby_gpg2-0.1.0.pre.4 lib/ruby_gpg2/commands/mixins/global_config.rb