Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

356 B
Raw Blame
# frozen_string_literal: true

module Primer
  module OpenProject
    module Forms
      # :nodoc:
      class HtmlContent < Primer::Forms::BaseComponent
        def initialize(&html_block)
          super()
          @html_block = html_block
        end

        def perform_render(&)
          super(&@html_block)
        end
      end
    end
  end
end