Class: Buildkite::Builder::Loaders::Abstract
- Inherits:
-
Object
- Object
- Buildkite::Builder::Loaders::Abstract
- Defined in:
- lib/buildkite/builder/loaders/abstract.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#assets ⇒ Object
readonly
Returns the value of attribute assets.
-
#root ⇒ Object
readonly
Returns the value of attribute root.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(root) ⇒ Abstract
constructor
A new instance of Abstract.
Constructor Details
#initialize(root) ⇒ Abstract
Returns a new instance of Abstract.
14 15 16 17 18 |
# File 'lib/buildkite/builder/loaders/abstract.rb', line 14 def initialize(root) @root = root @assets = {} load end |
Instance Attribute Details
#assets ⇒ Object (readonly)
Returns the value of attribute assets.
7 8 9 |
# File 'lib/buildkite/builder/loaders/abstract.rb', line 7 def assets @assets end |
#root ⇒ Object (readonly)
Returns the value of attribute root.
8 9 10 |
# File 'lib/buildkite/builder/loaders/abstract.rb', line 8 def root @root end |
Class Method Details
.load(root) ⇒ Object
[View source]
10 11 12 |
# File 'lib/buildkite/builder/loaders/abstract.rb', line 10 def self.load(root) new(root).assets end |