Class: SuperDiff::RSpec::ObjectInspection::Inspectors::ObjectHavingAttributes

Inherits:
ObjectInspection::Inspectors::Base show all
Defined in:
lib/super_diff/rspec/object_inspection/inspectors/object_having_attributes.rb

Class Method Summary collapse

Methods inherited from ObjectInspection::Inspectors::Base

#call

Class Method Details

.applies_to?(value) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/super_diff/rspec/object_inspection/inspectors/object_having_attributes.rb', line 6

def self.applies_to?(value)
  SuperDiff::RSpec.an_object_having_some_attributes?(value)
end