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.8.2 app/helpers/coco/book_helper.rb
coveragebook_components-0.8.1 app/helpers/coco/book_helper.rb
coveragebook_components-0.8.0 app/helpers/coco/book_helper.rb
coveragebook_components-0.8.0.beta.3 app/helpers/coco/book_helper.rb
coveragebook_components-0.8.0.beta.2 app/helpers/coco/book_helper.rb
coveragebook_components-0.8.0.beta.1 app/helpers/coco/book_helper.rb
coveragebook_components-0.7.10 app/helpers/coco/book_helper.rb
coveragebook_components-0.7.9 app/helpers/coco/book_helper.rb
coveragebook_components-0.7.8 app/helpers/coco/book_helper.rb
coveragebook_components-0.7.7 app/helpers/coco/book_helper.rb
coveragebook_components-0.7.6 app/helpers/coco/book_helper.rb
coveragebook_components-0.7.5 app/helpers/coco/book_helper.rb
coveragebook_components-0.7.4 app/helpers/coco/book_helper.rb
coveragebook_components-0.7.3 app/helpers/coco/book_helper.rb
coveragebook_components-0.7.2 app/helpers/coco/book_helper.rb
coveragebook_components-0.7.1 app/helpers/coco/book_helper.rb
coveragebook_components-0.7.0 app/helpers/coco/book_helper.rb
coveragebook_components-0.6.5 app/helpers/coco/book_helper.rb
coveragebook_components-0.6.4 app/helpers/coco/book_helper.rb
coveragebook_components-0.6.3 app/helpers/coco/book_helper.rb