Sha256: b277e43e262b67f1a2c32ed6be57cc17fcebb4aa90bd54f5d5520640ccd27a3f
Contents?: true
Size: 345 Bytes
Versions: 1
Compression:
Stored size: 345 Bytes
Contents
# frozen_string_literal: true module Cosensee class TailwindRenderer Page = Data.define(:content, :project) do def render page = content rendered_lines = page.parsed_lines.map do |parsed_line| ParsedLine.new(parsed_line, project).render end rendered_lines.join end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cosensee-0.8.0 | lib/cosensee/tailwind_renderer/page.rb |