ResponsiveArtboardPhone4Component

InfoGeneratePackages

The code defines a Ruby class named `ArtboardSize4Component` that inherits from `ApplicationComponent`. The class contains a method named `template`, which generates a `div` element with a class attribute `"phone-4"` within the context of an `artboard`. The content of the `div` is a string `"375×812"`, likely representing the dimensions of the artboard. This setup suggests that the class is part of a web application (possibly built with Ruby on Rails) that utilizes components for rendering UI elements, and this specific component is designed to represent or work with a screen or artboard of the given dimensions.

# frozen_string_literal: true

class ArtboardSize4Component < ApplicationComponent
  def template
    div(class: "artboard phone-4") { "375×812" }
  end
end