Class: Gitlab::DependencyLinker::CargoTomlLinker
- Inherits:
-
BaseLinker
- Object
- BaseLinker
- Gitlab::DependencyLinker::CargoTomlLinker
- Defined in:
- lib/gitlab/dependency_linker/cargo_toml_linker.rb
Constant Summary
Constants inherited from BaseLinker
BaseLinker::GIT_INVALID_URL_REGEX, BaseLinker::REPO_REGEX, BaseLinker::URL_REGEX
Instance Attribute Summary
Attributes inherited from BaseLinker
#highlighted_text, #plain_text
Instance Method Summary collapse
Methods inherited from BaseLinker
#external_url, #initialize, link, support?
Constructor Details
This class inherits a constructor from Gitlab::DependencyLinker::BaseLinker
Instance Method Details
#link ⇒ Object
8 9 10 11 12 |
# File 'lib/gitlab/dependency_linker/cargo_toml_linker.rb', line 8 def link return highlighted_text unless toml super end |