Exception: Bundler::Alive::SourceCodeRepositoryUrl::UnSupportedUrl
- Inherits:
-
StandardError
- Object
- StandardError
- Bundler::Alive::SourceCodeRepositoryUrl::UnSupportedUrl
- Defined in:
- lib/bundler/alive/source_code_repository_url.rb
Overview
No supported URL Error
Instance Method Summary collapse
- #initialize(url:, name:) ⇒ UnSupportedUrl constructor
Constructor Details
#initialize(url:, name:) ⇒ UnSupportedUrl
40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/bundler/alive/source_code_repository_url.rb', line 40 def initialize(url:, name:) decorated_url = if url.nil? || url == "" "(blank)" else url end = "[#{name}] is not support URL: #{decorated_url}" super() freeze end |