MobileDeviceScreenComponent
InfoGeneratePackages
This code defines a class named `ArtboardSize5Component` that inherits from `ApplicationComponent`. The class contains a method `template`, which returns a `div` element with the class name `artboard phone-5`. Inside the `div`, it includes the string `"414×896"`, which likely represents a specific artboard or screen size for a mobile device. The purpose of this class appears to be to render a component or part of a user interface that represents or works with this particular screen size.
# frozen_string_literal: true
class ArtboardSize5Component < ApplicationComponent
def template
div(class: "artboard phone-5") { "414×896" }
end
end
Try a prompt