Class: CfScript::Manifest
- Inherits:
-
Object
- Object
- CfScript::Manifest
- Includes:
- Utils
- Defined in:
- lib/cf_script/manifest.rb
Constant Summary collapse
- FILENAME =
'manifest.yml'
Instance Attribute Summary collapse
-
#applications ⇒ Object
readonly
Returns the value of attribute applications.
-
#filename ⇒ Object
readonly
Returns the value of attribute filename.
Instance Method Summary collapse
- #each ⇒ Object
-
#initialize(filename = FILENAME) ⇒ Manifest
constructor
A new instance of Manifest.
Methods included from Utils
Constructor Details
Instance Attribute Details
#applications ⇒ Object (readonly)
Returns the value of attribute applications.
7 8 9 |
# File 'lib/cf_script/manifest.rb', line 7 def applications @applications end |
#filename ⇒ Object (readonly)
Returns the value of attribute filename.
6 7 8 |
# File 'lib/cf_script/manifest.rb', line 6 def filename @filename end |
Instance Method Details
#each ⇒ Object
19 20 21 22 23 |
# File 'lib/cf_script/manifest.rb', line 19 def each applications.each do |app| yield app end end |