<% module_namespacing do -%> module Views class <%= class_name %> < ApplicationView def template render Layout.new(title: "<%= class_name.gsub("::", " ") %>") do h1 { "👋 Hello World!" } end end end end <% end %>