class Mercurial::BlameLine

The class represents a single line of the blame output.

Attributes

author[R]

Commit author.

contents[R]

Contents of the line.

num[R]

Line number.

revision[R]

ID of the commit associated with the line.

Public Class Methods

new(attrs={}) click to toggle source
# File lib/mercurial-ruby/blame_line.rb, line 20
def initialize(attrs={})
  @author   = attrs[:author]
  @num      = attrs[:num].to_i
  @revision = attrs[:revision]
  @contents = attrs[:contents]
end