Class: Bringit::BlameLine
- Inherits:
-
Object
- Object
- Bringit::BlameLine
- Defined in:
- lib/bringit/blame.rb
Instance Attribute Summary collapse
-
#commit ⇒ Object
Returns the value of attribute commit.
-
#line ⇒ Object
Returns the value of attribute line.
-
#lineno ⇒ Object
Returns the value of attribute lineno.
-
#oldlineno ⇒ Object
Returns the value of attribute oldlineno.
Instance Method Summary collapse
-
#initialize(lineno, oldlineno, commit, line) ⇒ BlameLine
constructor
A new instance of BlameLine.
Constructor Details
#initialize(lineno, oldlineno, commit, line) ⇒ BlameLine
Returns a new instance of BlameLine.
66 67 68 69 70 71 |
# File 'lib/bringit/blame.rb', line 66 def initialize(lineno, oldlineno, commit, line) @lineno = lineno @oldlineno = oldlineno @commit = commit @line = line end |
Instance Attribute Details
#commit ⇒ Object
Returns the value of attribute commit.
65 66 67 |
# File 'lib/bringit/blame.rb', line 65 def commit @commit end |
#line ⇒ Object
Returns the value of attribute line.
65 66 67 |
# File 'lib/bringit/blame.rb', line 65 def line @line end |
#lineno ⇒ Object
Returns the value of attribute lineno.
65 66 67 |
# File 'lib/bringit/blame.rb', line 65 def lineno @lineno end |
#oldlineno ⇒ Object
Returns the value of attribute oldlineno.
65 66 67 |
# File 'lib/bringit/blame.rb', line 65 def oldlineno @oldlineno end |