Class: SuperDiff::ActiveRecord::Differs::ActiveRecordRelation
- Inherits:
-
Core::AbstractDiffer
- Object
- Core::AbstractDiffer
- SuperDiff::ActiveRecord::Differs::ActiveRecordRelation
- Defined in:
- lib/super_diff/active_record/differs/active_record_relation.rb
Class Method Summary collapse
Methods inherited from Core::AbstractDiffer
Class Method Details
.applies_to?(expected, actual) ⇒ Boolean
7 8 9 |
# File 'lib/super_diff/active_record/differs/active_record_relation.rb', line 7 def self.applies_to?(expected, actual) expected.is_a?(::Array) && actual.is_a?(::ActiveRecord::Relation) end |