Class: SuperDiff::Differs::Empty

Inherits:
Base
  • Object
show all
Defined in:
lib/super_diff/differs/empty.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.applies_to?(_expected, _actual) ⇒ Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/super_diff/differs/empty.rb', line 4

def self.applies_to?(_expected, _actual)
  true
end

Instance Method Details

#callObject



8
9
10
# File 'lib/super_diff/differs/empty.rb', line 8

def call
  ""
end