Class: Kennel::Syncer::InternalPlan

Inherits:
Struct
  • Object
show all
Defined in:
lib/kennel/syncer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#createsObject

Returns the value of attribute creates



15
16
17
# File 'lib/kennel/syncer.rb', line 15

def creates
  @creates
end

#deletesObject

Returns the value of attribute deletes



15
16
17
# File 'lib/kennel/syncer.rb', line 15

def deletes
  @deletes
end

#updatesObject

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