No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-25 18:25:59 +01:00
lib Enable passing context to renderer 2026-11-25 18:25:59 +01:00
.editorconfig Initial prototype 🎉 2026-11-23 18:36:15 +01:00
readme.md Initial prototype 🎉 2026-11-23 18:36:15 +01:00
test.rb Enable passing context to renderer 2026-11-25 18:25:59 +01:00

Rummel

Prototype port of nyooom/skooma like HTML generation DSL to Ruby.

Basic usage:

html = Rummel.render do
	section do
		it << h1("Hello, World!")

		it << ul(class: "meep moop") do
			%w[foo bar baz].map { li it }
		end
	end
end

puts html