Class: Lapillus::StoredComponent

Inherits:
Object
  • Object
show all
Defined in:
lib/lapillus/base.rb

Overview

Note: Internal

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#blockObject (readonly)

Returns the value of attribute block.



268
269
270
# File 'lib/lapillus/base.rb', line 268

def block
  @block
end

#identifierObject (readonly)

Returns the value of attribute identifier.



268
269
270
# File 'lib/lapillus/base.rb', line 268

def identifier
  @identifier
end