Class: SuperDiff::RSpec::OperationTreeBuilders::ObjectHavingAttributes
- Inherits:
-
OperationTreeBuilders::DefaultObject
- Object
- OperationTreeBuilders::Base
- OperationTreeBuilders::DefaultObject
- SuperDiff::RSpec::OperationTreeBuilders::ObjectHavingAttributes
- Defined in:
- lib/super_diff/rspec/operation_tree_builders/object_having_attributes.rb
Class Method Summary collapse
Methods inherited from OperationTreeBuilders::DefaultObject
Methods inherited from OperationTreeBuilders::Base
Constructor Details
This class inherits a constructor from SuperDiff::OperationTreeBuilders::DefaultObject
Class Method Details
.applies_to?(expected, _actual) ⇒ Boolean
5 6 7 |
# File 'lib/super_diff/rspec/operation_tree_builders/object_having_attributes.rb', line 5 def self.applies_to?(expected, _actual) SuperDiff::RSpec.an_object_having_some_attributes?(expected) end |