module ExpressUi class UnorderedList < ExpressTemplates::Container tag :ul contains -> (&block) { collection.each do |item| assigns[:item] = item li { block.call() } end } end end