Class: GitSpelunk::BlameLine

Inherits:
Struct
  • Object
show all
Defined in:
lib/git_spelunk/blame.rb

Instance Attribute Summary collapse

Instance Attribute Details

#commitObject

Returns the value of attribute commit

Returns:

  • (Object)

    the current value of commit



2
3
4
# File 'lib/git_spelunk/blame.rb', line 2

def commit
  @commit
end

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



2
3
4
# File 'lib/git_spelunk/blame.rb', line 2

def content
  @content
end

#filenameObject

Returns the value of attribute filename

Returns:

  • (Object)

    the current value of filename



2
3
4
# File 'lib/git_spelunk/blame.rb', line 2

def filename
  @filename
end

#line_numberObject

Returns the value of attribute line_number

Returns:

  • (Object)

    the current value of line_number



2
3
4
# File 'lib/git_spelunk/blame.rb', line 2

def line_number
  @line_number
end

#old_line_numberObject

Returns the value of attribute old_line_number

Returns:

  • (Object)

    the current value of old_line_number



2
3
4
# File 'lib/git_spelunk/blame.rb', line 2

def old_line_number
  @old_line_number
end

#shaObject

Returns the value of attribute sha

Returns:

  • (Object)

    the current value of sha



2
3
4
# File 'lib/git_spelunk/blame.rb', line 2

def sha
  @sha
end