Class: Pray::ManifestTarget
- Inherits:
-
Struct
- Object
- Struct
- Pray::ManifestTarget
- Defined in:
- lib/pray/manifest.rb
Instance Attribute Summary collapse
-
#commands ⇒ Object
Returns the value of attribute commands.
-
#entries ⇒ Object
Returns the value of attribute entries.
-
#max_bytes ⇒ Object
Returns the value of attribute max_bytes.
-
#mode ⇒ Object
Returns the value of attribute mode.
-
#name ⇒ Object
Returns the value of attribute name.
-
#outputs ⇒ Object
Returns the value of attribute outputs.
-
#rules ⇒ Object
Returns the value of attribute rules.
-
#scoped ⇒ Object
Returns the value of attribute scoped.
-
#skills ⇒ Object
Returns the value of attribute skills.
Instance Method Summary collapse
-
#initialize(name:, outputs: [], skills: [], commands: [], rules: [], max_bytes: nil, mode: "legacy", scoped: false, entries: []) ⇒ ManifestTarget
constructor
A new instance of ManifestTarget.
Constructor Details
#initialize(name:, outputs: [], skills: [], commands: [], rules: [], max_bytes: nil, mode: "legacy", scoped: false, entries: []) ⇒ ManifestTarget
Returns a new instance of ManifestTarget.
29 30 31 32 33 34 |
# File 'lib/pray/manifest.rb', line 29 def initialize( name:, outputs: [], skills: [], commands: [], rules: [], max_bytes: nil, mode: "legacy", scoped: false, entries: [] ) super end |
Instance Attribute Details
#commands ⇒ Object
Returns the value of attribute commands
26 27 28 |
# File 'lib/pray/manifest.rb', line 26 def commands @commands end |
#entries ⇒ Object
Returns the value of attribute entries
26 27 28 |
# File 'lib/pray/manifest.rb', line 26 def entries @entries end |
#max_bytes ⇒ Object
Returns the value of attribute max_bytes
26 27 28 |
# File 'lib/pray/manifest.rb', line 26 def max_bytes @max_bytes end |
#mode ⇒ Object
Returns the value of attribute mode
26 27 28 |
# File 'lib/pray/manifest.rb', line 26 def mode @mode end |
#name ⇒ Object
Returns the value of attribute name
26 27 28 |
# File 'lib/pray/manifest.rb', line 26 def name @name end |
#outputs ⇒ Object
Returns the value of attribute outputs
26 27 28 |
# File 'lib/pray/manifest.rb', line 26 def outputs @outputs end |
#rules ⇒ Object
Returns the value of attribute rules
26 27 28 |
# File 'lib/pray/manifest.rb', line 26 def rules @rules end |
#scoped ⇒ Object
Returns the value of attribute scoped
26 27 28 |
# File 'lib/pray/manifest.rb', line 26 def scoped @scoped end |
#skills ⇒ Object
Returns the value of attribute skills
26 27 28 |
# File 'lib/pray/manifest.rb', line 26 def skills @skills end |