Sha256: 2b9eb0f61a50b5da23ddf430214024442791efe7959a35a796e3a55e5c1cb50b
Contents?: true
Size: 455 Bytes
Versions: 4
Compression:
Stored size: 455 Bytes
Contents
module ExpressTemplates module Components module Presenters class All < Container include Capabilities::Iteration has_argument :id, "Name of the collection", type: :symbol def start_tag; ''; end def end_tag; ''; end contains -> (&block) { prepended for_all(config[:id]) { block.call(self) if block } appended } end end end end
Version data entries
4 entries across 4 versions & 1 rubygems