class Pronto::Formatter::GithubPullRequestFormatter

Public Class Methods

name() click to toggle source
# File lib/pronto/formatter/github_pull_request_formatter.rb, line 4
def self.name
  'github_pr'
end

Public Instance Methods

client_module() click to toggle source
# File lib/pronto/formatter/github_pull_request_formatter.rb, line 8
def client_module
  Github
end
line_number(message, patches) click to toggle source
# File lib/pronto/formatter/github_pull_request_formatter.rb, line 16
def line_number(message, patches)
  line = patches.find_line(message.full_path, message.line.new_lineno)
  line.position
end
pretty_name() click to toggle source
# File lib/pronto/formatter/github_pull_request_formatter.rb, line 12
def pretty_name
  'GitHub'
end