Sha256: 6bc805e3623261f24d7438d3cba1ea9728293389179c57b6ffbf7f7b023b7bfe

Contents?: true

Size: 287 Bytes

Versions: 32

Compression:

Stored size: 287 Bytes

Contents

require 'delegate'
require_relative 'content_image'

class ContentItemPresenter < SimpleDelegator
  include ContentImage

  def certification_metadata(&block)
    yield(source.certification_metadata) if source.certification_metadata.present?
  end

  def source
    __getobj__
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
woople-theme-0.2.25 app/presenters/content_item_presenter.rb
woople-theme-0.2.24 app/presenters/content_item_presenter.rb
woople-theme-0.2.23 app/presenters/content_item_presenter.rb
woople-theme-0.2.22 app/presenters/content_item_presenter.rb
woople-theme-0.2.21 app/presenters/content_item_presenter.rb
woople-theme-0.2.20 app/presenters/content_item_presenter.rb
woople-theme-0.2.19 app/presenters/content_item_presenter.rb
woople-theme-0.2.18 app/presenters/content_item_presenter.rb
woople-theme-0.2.17 app/presenters/content_item_presenter.rb
woople-theme-0.2.16 app/presenters/content_item_presenter.rb
woople-theme-0.2.15 app/presenters/content_item_presenter.rb
woople-theme-0.2.14 app/presenters/content_item_presenter.rb
woople-theme-0.2.13 app/presenters/content_item_presenter.rb
woople-theme-0.2.12 app/presenters/content_item_presenter.rb
woople-theme-0.2.11 app/presenters/content_item_presenter.rb
woople-theme-0.2.10 app/presenters/content_item_presenter.rb
woople-theme-0.2.9 app/presenters/content_item_presenter.rb
woople-theme-0.2.8 app/presenters/content_item_presenter.rb
woople-theme-0.2.7 app/presenters/content_item_presenter.rb
woople-theme-0.2.6 app/presenters/content_item_presenter.rb