Class: HTMLDiff::Match
- Inherits:
-
Struct
- Object
- Struct
- HTMLDiff::Match
- Defined in:
- lib/junebug/ext/diff.rb,
lib/junebug/ext/diff.rb
Instance Attribute Summary collapse
-
#size ⇒ Object
Returns the value of attribute size.
-
#start_in_new ⇒ Object
Returns the value of attribute start_in_new.
-
#start_in_old ⇒ Object
Returns the value of attribute start_in_old.
Instance Method Summary collapse
Instance Attribute Details
#size ⇒ Object
Returns the value of attribute size
3 4 5 |
# File 'lib/junebug/ext/diff.rb', line 3 def size @size end |
#start_in_new ⇒ Object
Returns the value of attribute start_in_new
3 4 5 |
# File 'lib/junebug/ext/diff.rb', line 3 def start_in_new @start_in_new end |
#start_in_old ⇒ Object
Returns the value of attribute start_in_old
3 4 5 |
# File 'lib/junebug/ext/diff.rb', line 3 def start_in_old @start_in_old end |
Instance Method Details
#end_in_new ⇒ Object
9 10 11 |
# File 'lib/junebug/ext/diff.rb', line 9 def end_in_new self.start_in_new + self.size end |
#end_in_old ⇒ Object
5 6 7 |
# File 'lib/junebug/ext/diff.rb', line 5 def end_in_old self.start_in_old + self.size end |