Sha256: 3a9de07a46b3a3db148d20275a044d2628d9c7bc159a1ce110d941ca48609d52

Contents?: true

Size: 274 Bytes

Versions: 5

Compression:

Stored size: 274 Bytes

Contents

module Coco
  module BookComponentsHelper
    def coco_editable_slide(**, &block)
      render Coco::Book::EditableSlide.new(**), &block
    end

    def coco_media_slide(src = nil, **, &block)
      render Coco::Book::MediaSlide.new(src: src, **), &block
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
coveragebook_components-0.16.0 app/helpers/coco/book_components_helper.rb
coveragebook_components-0.15.0 app/helpers/coco/book_components_helper.rb
coveragebook_components-0.14.0 app/helpers/coco/book_components_helper.rb
coveragebook_components-0.13.1 app/helpers/coco/book_components_helper.rb
coveragebook_components-0.13.0 app/helpers/coco/book_components_helper.rb