Class: Hivemind::Runtime::HivemindModule
- Inherits:
-
Object
- Object
- Hivemind::Runtime::HivemindModule
- Defined in:
- lib/hivemind/runtime.rb
Instance Attribute Summary collapse
-
#elements ⇒ Object
readonly
Returns the value of attribute elements.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
Instance Method Summary collapse
-
#initialize(label, elements = []) ⇒ HivemindModule
constructor
A new instance of HivemindModule.
Constructor Details
#initialize(label, elements = []) ⇒ HivemindModule
Returns a new instance of HivemindModule.
36 37 38 |
# File 'lib/hivemind/runtime.rb', line 36 def initialize(label, elements = []) @elements = elements end |
Instance Attribute Details
#elements ⇒ Object (readonly)
Returns the value of attribute elements.
34 35 36 |
# File 'lib/hivemind/runtime.rb', line 34 def elements @elements end |
#label ⇒ Object (readonly)
Returns the value of attribute label.
34 35 36 |
# File 'lib/hivemind/runtime.rb', line 34 def label @label end |