Class: Polaris::SkeletonBodyTextComponent
- Inherits:
-
Component
- Object
- Component
- Polaris::SkeletonBodyTextComponent
- Defined in:
- app/components/polaris/skeleton_body_text_component.rb
Instance Method Summary collapse
-
#initialize(lines: 3) ⇒ SkeletonBodyTextComponent
constructor
A new instance of SkeletonBodyTextComponent.
Constructor Details
#initialize(lines: 3) ⇒ SkeletonBodyTextComponent
Returns a new instance of SkeletonBodyTextComponent.
5 6 7 |
# File 'app/components/polaris/skeleton_body_text_component.rb', line 5 def initialize(lines: 3) @lines = lines end |