Class: Kennel::Syncer::InternalPlan
- Inherits:
-
Struct
- Object
- Struct
- Kennel::Syncer::InternalPlan
- Defined in:
- lib/kennel/syncer.rb
Instance Attribute Summary collapse
-
#creates ⇒ Object
Returns the value of attribute creates.
-
#deletes ⇒ Object
Returns the value of attribute deletes.
-
#updates ⇒ Object
Returns the value of attribute updates.
Instance Method Summary collapse
Instance Attribute Details
#creates ⇒ Object
Returns the value of attribute creates
15 16 17 |
# File 'lib/kennel/syncer.rb', line 15 def creates @creates end |
#deletes ⇒ Object
Returns the value of attribute deletes
15 16 17 |
# File 'lib/kennel/syncer.rb', line 15 def deletes @deletes end |
#updates ⇒ Object
Returns the value of attribute updates
15 16 17 |
# File 'lib/kennel/syncer.rb', line 15 def updates @updates end |
Instance Method Details
#empty? ⇒ Boolean
16 17 18 |
# File 'lib/kennel/syncer.rb', line 16 def empty? creates.empty? && updates.empty? && deletes.empty? end |