Skip to content

v0.3.0

Release date: 2023.04.18

Added

Build HTML without defining classes or structs

It's possible build HTML without using classes or structs

html = Blueprint::HTML.build do
  h1 { "Hello" }
  div do
    h2 { "World" }
  end
end

puts html # => <h1>Hello</h1><div><h2>World</h2></div>