class

Lemonade::Block::CachedBlock

Inherits Lemonade::Block::BaseBlock < Reference < Object

Cached version of BaseBlock.

Saves the rendering output, and use it to redraw the block, until it is marked dirty.

Instance methods

dirty!

Mark the Block and its parents as 'dirty', to force re-render on next redraw.

Source
dirty?

This is not a cached block, it always needs rendering.

Source
redraw(io)

TODO: doc

Source