Sha256: fd514f98823e2ab41a8c6962bc5c50d433e26b9be5d7f87cea02c84fcb6bae95

Contents?: true

Size: 320 Bytes

Versions: 31

Compression:

Stored size: 320 Bytes

Contents

module Coco
  module BookHelper
    def coco_editable_slide(**kwargs, &block)
      render Coco::Book::Blocks::Slides::EditableSlide.new(**kwargs), &block
    end

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

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
coveragebook_components-0.6.2 app/helpers/coco/book_helper.rb
coveragebook_components-0.6.1 app/helpers/coco/book_helper.rb
coveragebook_components-0.6.0 app/helpers/coco/book_helper.rb
coveragebook_components-0.5.7 app/helpers/coco/book_helper.rb
coveragebook_components-0.5.6 app/helpers/coco/book_helper.rb
coveragebook_components-0.5.5 app/helpers/coco/book_helper.rb
coveragebook_components-0.5.4 app/helpers/coco/book_helper.rb
coveragebook_components-0.5.3 app/helpers/coco/book_helper.rb
coveragebook_components-0.5.2 app/helpers/coco/book_helper.rb
coveragebook_components-0.5.1 app/helpers/coco/book_helper.rb
coveragebook_components-0.5.0 app/helpers/coco/book_helper.rb