Class: Burner::Library::Param::Base
- Inherits:
-
JobWithRegister
- Object
- Job
- JobWithRegister
- Burner::Library::Param::Base
- Defined in:
- lib/burner/library/param/base.rb
Overview
Common logic shared across Param job subclasses.
Direct Known Subclasses
Constant Summary
Constants inherited from JobWithRegister
Instance Attribute Summary collapse
-
#param_key ⇒ Object
readonly
Returns the value of attribute param_key.
Attributes inherited from JobWithRegister
Attributes inherited from Job
Instance Method Summary collapse
-
#initialize(name: BLANK, param_key: BLANK, register: DEFAULT_REGISTER) ⇒ Base
constructor
A new instance of Base.
Methods inherited from Job
Methods included from Util::Arrayable
Constructor Details
#initialize(name: BLANK, param_key: BLANK, register: DEFAULT_REGISTER) ⇒ Base
Returns a new instance of Base.
17 18 19 20 21 22 23 |
# File 'lib/burner/library/param/base.rb', line 17 def initialize(name: BLANK, param_key: BLANK, register: DEFAULT_REGISTER) super(name: name, register: register) @param_key = param_key.to_s freeze end |
Instance Attribute Details
#param_key ⇒ Object (readonly)
Returns the value of attribute param_key.
15 16 17 |
# File 'lib/burner/library/param/base.rb', line 15 def param_key @param_key end |