Sha256: b5a8a49c63b81c7324ad27a14efae0fd8b6085884cdf27929a201b5637b81a4b

Contents?: true

Size: 296 Bytes

Versions: 17

Compression:

Stored size: 296 Bytes

Contents

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

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
coveragebook_components-0.12.2 app/helpers/coco/book_helper.rb
coveragebook_components-0.12.1 app/helpers/coco/book_helper.rb
coveragebook_components-0.12.0 app/helpers/coco/book_helper.rb
coveragebook_components-0.11.0 app/helpers/coco/book_helper.rb
coveragebook_components-0.10.1.beta.2 app/helpers/coco/book_helper.rb
coveragebook_components-0.10.1.beta.1 app/helpers/coco/book_helper.rb
coveragebook_components-0.10.1.beta.0 app/helpers/coco/book_helper.rb
coveragebook_components-0.10.0 app/helpers/coco/book_helper.rb
coveragebook_components-0.9.1 app/helpers/coco/book_helper.rb
coveragebook_components-0.9.0 app/helpers/coco/book_helper.rb
coveragebook_components-0.8.9 app/helpers/coco/book_helper.rb
coveragebook_components-0.8.8 app/helpers/coco/book_helper.rb
coveragebook_components-0.8.7 app/helpers/coco/book_helper.rb
coveragebook_components-0.8.6 app/helpers/coco/book_helper.rb
coveragebook_components-0.8.5 app/helpers/coco/book_helper.rb
coveragebook_components-0.8.4 app/helpers/coco/book_helper.rb
coveragebook_components-0.8.3 app/helpers/coco/book_helper.rb