Class: Gitlab::DependencyLinker::JsonLinker
- Inherits:
-
BaseLinker
- Object
- BaseLinker
- Gitlab::DependencyLinker::JsonLinker
- Defined in:
- lib/gitlab/dependency_linker/json_linker.rb
Direct Known Subclasses
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
6 7 8 9 10 |
# File 'lib/gitlab/dependency_linker/json_linker.rb', line 6 def link return highlighted_text unless json super end |