Class: Bits::Manifest
- Inherits:
-
Object
- Object
- Bits::Manifest
- Defined in:
- lib/bits/manifest.rb
Defined Under Namespace
Classes: Dependency
Instance Attribute Summary collapse
-
#depends ⇒ Object
readonly
Returns the value of attribute depends.
Instance Method Summary collapse
-
#initialize(root) ⇒ Manifest
constructor
A new instance of Manifest.
Constructor Details
#initialize(root) ⇒ Manifest
Returns a new instance of Manifest.
14 15 16 17 18 19 20 |
# File 'lib/bits/manifest.rb', line 14 def initialize(root) unless root.kind_of? Hash raise "Manifest is not of type Hash: #{path}" end @depends = read_depends root end |
Instance Attribute Details
#depends ⇒ Object (readonly)
Returns the value of attribute depends.
12 13 14 |
# File 'lib/bits/manifest.rb', line 12 def depends @depends end |