Class: Buildkite::Builder::ExtensionTemplate
- Inherits:
-
Object
- Object
- Buildkite::Builder::ExtensionTemplate
- Defined in:
- lib/buildkite/builder/extension_template.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
readonly
Returns the value of attribute block.
-
#extension_class ⇒ Object
readonly
Returns the value of attribute extension_class.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(extension_class, name, block) ⇒ ExtensionTemplate
constructor
A new instance of ExtensionTemplate.
Constructor Details
#initialize(extension_class, name, block) ⇒ ExtensionTemplate
Returns a new instance of ExtensionTemplate.
6 7 8 9 10 |
# File 'lib/buildkite/builder/extension_template.rb', line 6 def initialize(extension_class, name, block) @extension_class = extension_class @name = name @block = block end |
Instance Attribute Details
#block ⇒ Object (readonly)
Returns the value of attribute block.
4 5 6 |
# File 'lib/buildkite/builder/extension_template.rb', line 4 def block @block end |
#extension_class ⇒ Object (readonly)
Returns the value of attribute extension_class.
4 5 6 |
# File 'lib/buildkite/builder/extension_template.rb', line 4 def extension_class @extension_class end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/buildkite/builder/extension_template.rb', line 4 def name @name end |