Class: SuperDiff::RSpec::OperationTreeBuilders::ObjectHavingAttributes
- Inherits:
-
Basic::OperationTreeBuilders::DefaultObject
- Object
- Core::AbstractOperationTreeBuilder
- Basic::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 Basic::OperationTreeBuilders::DefaultObject
Methods inherited from Core::AbstractOperationTreeBuilder
Constructor Details
This class inherits a constructor from SuperDiff::Basic::OperationTreeBuilders::DefaultObject
Class Method Details
.applies_to?(expected, _actual) ⇒ Boolean
7 8 9 |
# File 'lib/super_diff/rspec/operation_tree_builders/object_having_attributes.rb', line 7 def self.applies_to?(expected, _actual) SuperDiff::RSpec.an_object_having_some_attributes?(expected) end |