Sha256: 41e2e491597fc0e3b59842cee684fec619cff234a5771d5702c1c42c1dc71cb8

Contents?: true

Size: 208 Bytes

Versions: 5

Compression:

Stored size: 208 Bytes

Contents

module Coco
  module Book
    class MediaSlide < Coco::Component
      attr_reader :src, :alt

      def initialize(src:, alt: nil, **kwargs)
        @src = src
        @alt = alt
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
coveragebook_components-0.16.0 app/components/coco/book/media_slide/media_slide.rb
coveragebook_components-0.15.0 app/components/coco/book/media_slide/media_slide.rb
coveragebook_components-0.14.0 app/components/coco/book/media_slide/media_slide.rb
coveragebook_components-0.13.1 app/components/coco/book/media_slide/media_slide.rb
coveragebook_components-0.13.0 app/components/coco/book/media_slide/media_slide.rb