Class: PuppetX::Puppetlabs::Migration::CatalogDeltaModel::Diff Abstract
- Inherits:
-
DeltaEntity
- Object
- DeltaEntity
- PuppetX::Puppetlabs::Migration::CatalogDeltaModel::Diff
- Defined in:
- lib/puppet_x/puppetlabs/migration/catalog_delta_model.rb
Overview
This class is abstract.
An element in the model that contains an Integer diff_id
Direct Known Subclasses
Attribute, AttributeConflict, CatalogDelta, Edge, Resource, ResourceConflict
Instance Attribute Summary collapse
- #diff_id ⇒ Object readonly
Instance Method Summary collapse
-
#assign_ids(id) ⇒ Integer
private
Assigns id numbers to this object and contained objects.
Methods inherited from DeltaEntity
Methods included from ModelObject
#initialize_from_hash, #to_hash
Instance Attribute Details
#diff_id ⇒ Object (readonly)
77 78 79 |
# File 'lib/puppet_x/puppetlabs/migration/catalog_delta_model.rb', line 77 def diff_id @diff_id end |
Instance Method Details
#assign_ids(id) ⇒ Integer
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Assigns id numbers to this object and contained objects. The id is incremented once for each assignment that is made.
86 87 88 89 |
# File 'lib/puppet_x/puppetlabs/migration/catalog_delta_model.rb', line 86 def assign_ids(id) @diff_id = id id + 1 end |