Class: SuperDiff::RSpec::OperationalSequencers::ObjectHavingAttributes

Inherits:
OperationalSequencers::DefaultObject show all
Defined in:
lib/super_diff/rspec/operational_sequencers/object_having_attributes.rb

Class Method Summary collapse

Methods inherited from OperationalSequencers::DefaultObject

#initialize

Methods inherited from OperationalSequencers::Base

#call

Constructor Details

This class inherits a constructor from SuperDiff::OperationalSequencers::DefaultObject

Class Method Details

.applies_to?(expected, _actual) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/super_diff/rspec/operational_sequencers/object_having_attributes.rb', line 5

def self.applies_to?(expected, _actual)
  SuperDiff::RSpec.an_object_having_some_attributes?(expected)
end