Class Diffy::Diff
In: lib/diffy/diff.rb
Parent: Object

Methods

Included Modules

Enumerable

Constants

ORIGINAL_DEFAULT_OPTIONS = { :diff => '-U10000', :source => 'strings', :include_diff_info => false, :include_plus_and_minus_in_html => false, :context => nil, :allow_empty_diff => true, }

Attributes

default_format  [W] 
default_options  [W]  default options passed to new Diff objects
options  [R] 
string1  [R] 
string2  [R] 

Public Class methods

supported options

+:diff+:A cli options string passed to diff
+:source+:Either strings or files. Determines whether string1 and string2 should be interpreted as strings or file paths.
+:include_diff_info+:Include diff header info
+:include_plus_and_minus_in_html+:Show the +, -, ’ ’ at the beginning of lines in html output.

Public Instance methods

[Validate]