Module: Card::View::Cache::Stub
- Included in:
- Card::View::Cache
- Defined in:
- lib/card/view/cache/stub.rb
Overview
A “stub” is a placeholder for a card view.
Cached views use stubs so that nesting content can remained cached even while nested content changes. The nested content’s place is held by a stub.
A stub must contain all the information necessary to produce the view as intended.