Class: Pronto::Formatter::GithubPullRequestFormatter
Instance Method Summary
collapse
#existing_comments, #submit_comments
#format
Methods inherited from Base
#config, name
Instance Method Details
#client_module ⇒ Object
4
5
6
|
# File 'lib/pronto/formatter/github_pull_request_formatter.rb', line 4
def client_module
Github
end
|
#line_number(message, patches) ⇒ Object
12
13
14
15
|
# File 'lib/pronto/formatter/github_pull_request_formatter.rb', line 12
def line_number(message, patches)
line = patches.find_line(message.full_path, message.line.new_lineno)
line.position
end
|
#pretty_name ⇒ Object
8
9
10
|
# File 'lib/pronto/formatter/github_pull_request_formatter.rb', line 8
def pretty_name
'GitHub'
end
|