Class: Bundler::CLI::Doctor::SSL
- Inherits:
-
Object
- Object
- Bundler::CLI::Doctor::SSL
- Defined in:
- lib/bundler/cli/doctor/ssl.rb
Defined Under Namespace
Modules: Explanation
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options) ⇒ SSL
constructor
A new instance of SSL.
- #run ⇒ Object
Constructor Details
#initialize(options) ⇒ SSL
Returns a new instance of SSL.
10 11 12 |
# File 'lib/bundler/cli/doctor/ssl.rb', line 10 def initialize() @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
8 9 10 |
# File 'lib/bundler/cli/doctor/ssl.rb', line 8 def @options end |
Instance Method Details
#run ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/bundler/cli/doctor/ssl.rb', line 14 def run return unless openssl_installed? output_ssl_environment bundler_success = bundler_connection_successful? rubygem_success = rubygem_connection_successful? return unless net_http_connection_successful? Explanation.summarize(bundler_success, rubygem_success, host) end |