Sha256: 0361561624f21c758c280f22ab87a6d2ad55f84f617dc298bddf053022ed6b9d
Contents?: true
Size: 599 Bytes
Versions: 8
Compression:
Stored size: 599 Bytes
Contents
# frozen_string_literal: true module RubyGPG2 module Commands module Mixins module GlobalConfig def configure_command(builder, opts) home_directory = opts[:home_directory] without_tty = opts[:without_tty].nil? ? true : opts[:without_tty] builder = super(builder, opts) if home_directory builder = builder.with_option( '--homedir', home_directory, quoting: '"' ) end builder = builder.with_flag('--no-tty') if without_tty builder end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems