Class: Cumulus::IAM::PolicyUnifier::Instance
- Inherits:
-
Object
- Object
- Cumulus::IAM::PolicyUnifier::Instance
- Defined in:
- lib/iam/migration/PolicyUnifier.rb
Overview
the following inner classes are used to keep track of whether we’ve seen a policy before. ‘SingleInstance` and `MultipleInstances` both extend `Instance`, as both of them have a `name` attribute.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Instance
constructor
A new instance of Instance.
Constructor Details
#initialize(name) ⇒ Instance
Returns a new instance of Instance.
16 17 18 |
# File 'lib/iam/migration/PolicyUnifier.rb', line 16 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
15 16 17 |
# File 'lib/iam/migration/PolicyUnifier.rb', line 15 def name @name end |