class RubyGPG2::Commands::Import
Public Instance Methods
configure_command(builder, opts)
click to toggle source
Calls superclass method
RubyGPG2::Commands::Mixins::StatusConfig#configure_command
# File lib/ruby_gpg2/commands/import.rb, line 19 def configure_command(builder, opts) key_file_paths = opts[:key_file_paths] || [] builder = super(builder, opts) builder = builder.with_subcommand('--import') key_file_paths.each do |key_file_path| builder = builder.with_argument(key_file_path) end builder end