Module: Diffing::Format::Ascii
- Defined in:
- lib/diffing/formats/ascii.rb
Class Method Summary collapse
Class Method Details
.delete(value) ⇒ Object
18 19 20 |
# File 'lib/diffing/formats/ascii.rb', line 18 def delete( value ) "{-`#{ value }`}" end |
.insert(value) ⇒ Object
14 15 16 |
# File 'lib/diffing/formats/ascii.rb', line 14 def insert( value ) "{+`#{ value }`}" end |
.replace(from, to) ⇒ Object
22 23 24 |
# File 'lib/diffing/formats/ascii.rb', line 22 def replace( from, to ) "{`#{ from }`>>`#{ to }`}" end |
.source(value) ⇒ Object
10 11 12 |
# File 'lib/diffing/formats/ascii.rb', line 10 def source( value ) value end |