Class: Convection::Model::Template::ResourceAttribute
- Inherits:
-
Object
- Object
- Convection::Model::Template::ResourceAttribute
- Defined in:
- lib/convection/model/template/resource_attribute.rb,
lib/convection/model/template/resource_attribute/update_policy.rb
Overview
Direct Known Subclasses
Defined Under Namespace
Classes: UpdatePolicy
Instance Method Summary collapse
-
#initialize(parent) ⇒ ResourceAttribute
constructor
A new instance of ResourceAttribute.
Constructor Details
#initialize(parent) ⇒ ResourceAttribute
Returns a new instance of ResourceAttribute
6 7 8 |
# File 'lib/convection/model/template/resource_attribute.rb', line 6 def initialize(parent) parent.resource_attributes << self end |