Class: Jazzy::SourceHost::BitBucket
- Inherits:
-
GitHub
- Object
- GitHub
- Jazzy::SourceHost::BitBucket
show all
- Defined in:
- lib/jazzy/source_host.rb
Overview
BitBucket has its own line number system
Instance Method Summary
collapse
Methods inherited from GitHub
#extension, #item_url, #url
#config
Instance Method Details
#image ⇒ Object
98
99
100
|
# File 'lib/jazzy/source_host.rb', line 98
def image
'bitbucket.svg'
end
|
#item_url_line_fragment(line) ⇒ Object
102
103
104
|
# File 'lib/jazzy/source_host.rb', line 102
def item_url_line_fragment(line)
"lines-#{line}"
end
|
#item_url_multiline_fragment(start_line, end_line) ⇒ Object
106
107
108
|
# File 'lib/jazzy/source_host.rb', line 106
def item_url_multiline_fragment(start_line, end_line)
"lines-#{start_line}:#{end_line}"
end
|
#name ⇒ Object
94
95
96
|
# File 'lib/jazzy/source_host.rb', line 94
def name
'Bitbucket'
end
|