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
10 11 12 |
# File 'lib/kennel/syncer.rb', line 10 def creates @creates end |
#deletes ⇒ Object
Returns the value of attribute deletes
10 11 12 |
# File 'lib/kennel/syncer.rb', line 10 def deletes @deletes end |
#updates ⇒ Object
Returns the value of attribute updates
10 11 12 |
# File 'lib/kennel/syncer.rb', line 10 def updates @updates end |
Instance Method Details
#empty? ⇒ Boolean
11 12 13 |
# File 'lib/kennel/syncer.rb', line 11 def empty? creates.empty? && updates.empty? && deletes.empty? end |