Method: Gem::AbstractCommand#setup

Defined in:
lib/commands/abstract_command.rb

#setupObject



73
74
75
76
77
78
79
80
81
82
# File 'lib/commands/abstract_command.rb', line 73

def setup
  prompt_encryption if config.encrypted?
  configure_url if config.url.nil? || options[ :nexus_clear ]
  use_proxy!( url ) if http_proxy( url )
  if( authorization.nil? || 
      config.always_prompt? || 
      options[:nexus_clear] )
    
  end
end