Class: Pray::ManifestPackage
- Inherits:
-
Struct
- Object
- Struct
- Pray::ManifestPackage
- Defined in:
- lib/pray/manifest.rb
Instance Attribute Summary collapse
-
#bound ⇒ Object
Returns the value of attribute bound.
-
#constraint ⇒ Object
Returns the value of attribute constraint.
-
#exports ⇒ Object
Returns the value of attribute exports.
-
#features ⇒ Object
Returns the value of attribute features.
-
#file ⇒ Object
Returns the value of attribute file.
-
#git ⇒ Object
Returns the value of attribute git.
-
#groups ⇒ Object
Returns the value of attribute groups.
-
#name ⇒ Object
Returns the value of attribute name.
-
#oci ⇒ Object
Returns the value of attribute oci.
-
#optional ⇒ Object
Returns the value of attribute optional.
-
#path ⇒ Object
Returns the value of attribute path.
-
#rev ⇒ Object
Returns the value of attribute rev.
-
#roles ⇒ Object
Returns the value of attribute roles.
-
#source ⇒ Object
Returns the value of attribute source.
-
#tag ⇒ Object
Returns the value of attribute tag.
-
#tarball ⇒ Object
Returns the value of attribute tarball.
-
#targets ⇒ Object
Returns the value of attribute targets.
Instance Method Summary collapse
-
#initialize(name:, constraint: "*", source: nil, exports: [], targets: [], features: [], groups: [], optional: false, path: nil, git: nil, tag: nil, rev: nil, tarball: nil, oci: nil, file: nil, roles: [], bound: false) ⇒ ManifestPackage
constructor
A new instance of ManifestPackage.
Constructor Details
#initialize(name:, constraint: "*", source: nil, exports: [], targets: [], features: [], groups: [], optional: false, path: nil, git: nil, tag: nil, rev: nil, tarball: nil, oci: nil, file: nil, roles: [], bound: false) ⇒ ManifestPackage
Returns a new instance of ManifestPackage.
41 42 43 44 45 46 47 |
# File 'lib/pray/manifest.rb', line 41 def initialize( name:, constraint: "*", source: nil, exports: [], targets: [], features: [], groups: [], optional: false, path: nil, git: nil, tag: nil, rev: nil, tarball: nil, oci: nil, file: nil, roles: [], bound: false ) super end |
Instance Attribute Details
#bound ⇒ Object
Returns the value of attribute bound
37 38 39 |
# File 'lib/pray/manifest.rb', line 37 def bound @bound end |
#constraint ⇒ Object
Returns the value of attribute constraint
37 38 39 |
# File 'lib/pray/manifest.rb', line 37 def constraint @constraint end |
#exports ⇒ Object
Returns the value of attribute exports
37 38 39 |
# File 'lib/pray/manifest.rb', line 37 def exports @exports end |
#features ⇒ Object
Returns the value of attribute features
37 38 39 |
# File 'lib/pray/manifest.rb', line 37 def features @features end |
#file ⇒ Object
Returns the value of attribute file
37 38 39 |
# File 'lib/pray/manifest.rb', line 37 def file @file end |
#git ⇒ Object
Returns the value of attribute git
37 38 39 |
# File 'lib/pray/manifest.rb', line 37 def git @git end |
#groups ⇒ Object
Returns the value of attribute groups
37 38 39 |
# File 'lib/pray/manifest.rb', line 37 def groups @groups end |
#name ⇒ Object
Returns the value of attribute name
37 38 39 |
# File 'lib/pray/manifest.rb', line 37 def name @name end |
#oci ⇒ Object
Returns the value of attribute oci
37 38 39 |
# File 'lib/pray/manifest.rb', line 37 def oci @oci end |
#optional ⇒ Object
Returns the value of attribute optional
37 38 39 |
# File 'lib/pray/manifest.rb', line 37 def optional @optional end |
#path ⇒ Object
Returns the value of attribute path
37 38 39 |
# File 'lib/pray/manifest.rb', line 37 def path @path end |
#rev ⇒ Object
Returns the value of attribute rev
37 38 39 |
# File 'lib/pray/manifest.rb', line 37 def rev @rev end |
#roles ⇒ Object
Returns the value of attribute roles
37 38 39 |
# File 'lib/pray/manifest.rb', line 37 def roles @roles end |
#source ⇒ Object
Returns the value of attribute source
37 38 39 |
# File 'lib/pray/manifest.rb', line 37 def source @source end |
#tag ⇒ Object
Returns the value of attribute tag
37 38 39 |
# File 'lib/pray/manifest.rb', line 37 def tag @tag end |
#tarball ⇒ Object
Returns the value of attribute tarball
37 38 39 |
# File 'lib/pray/manifest.rb', line 37 def tarball @tarball end |
#targets ⇒ Object
Returns the value of attribute targets
37 38 39 |
# File 'lib/pray/manifest.rb', line 37 def targets @targets end |