Class: Lapillus::StoredComponent
Overview
Note: Internal
Instance Attribute Summary collapse
-
#block ⇒ Object
readonly
Returns the value of attribute block.
-
#identifier ⇒ Object
readonly
Returns the value of attribute identifier.
Instance Method Summary collapse
-
#initialize(id, block) ⇒ StoredComponent
constructor
A new instance of StoredComponent.
Constructor Details
#initialize(id, block) ⇒ StoredComponent
Returns a new instance of StoredComponent.
270 271 272 273 |
# File 'lib/lapillus/base.rb', line 270 def initialize(id, block) @identifier = id @block = block end |
Instance Attribute Details
#block ⇒ Object (readonly)
Returns the value of attribute block.
268 269 270 |
# File 'lib/lapillus/base.rb', line 268 def block @block end |
#identifier ⇒ Object (readonly)
Returns the value of attribute identifier.
268 269 270 |
# File 'lib/lapillus/base.rb', line 268 def identifier @identifier end |