Class: Megam::Mixins::Components
- Inherits:
-
Object
- Object
- Megam::Mixins::Components
- Defined in:
- lib/megam/mixins/components.rb
Instance Attribute Summary collapse
-
#artifacts ⇒ Object
readonly
Returns the value of attribute artifacts.
-
#mixins ⇒ Object
readonly
Returns the value of attribute mixins.
-
#operations ⇒ Object
readonly
Returns the value of attribute operations.
-
#related_components ⇒ Object
readonly
Returns the value of attribute related_components.
-
#repo ⇒ Object
readonly
Returns the value of attribute repo.
Instance Method Summary collapse
-
#initialize(params) ⇒ Components
constructor
A new instance of Components.
Constructor Details
#initialize(params) ⇒ Components
Returns a new instance of Components.
7 8 9 10 11 12 13 14 |
# File 'lib/megam/mixins/components.rb', line 7 def initialize(params) @mixins = CommonDeployable.new(params) @artifacts = Outputs.new(params) add_repo(params) add_operations(params) (params) add_artifacts(params) end |
Instance Attribute Details
#artifacts ⇒ Object (readonly)
Returns the value of attribute artifacts.
5 6 7 |
# File 'lib/megam/mixins/components.rb', line 5 def artifacts @artifacts end |
#mixins ⇒ Object (readonly)
Returns the value of attribute mixins.
5 6 7 |
# File 'lib/megam/mixins/components.rb', line 5 def mixins @mixins end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
5 6 7 |
# File 'lib/megam/mixins/components.rb', line 5 def operations @operations end |
#related_components ⇒ Object (readonly)
Returns the value of attribute related_components.
5 6 7 |
# File 'lib/megam/mixins/components.rb', line 5 def @related_components end |
#repo ⇒ Object (readonly)
Returns the value of attribute repo.
5 6 7 |
# File 'lib/megam/mixins/components.rb', line 5 def repo @repo end |