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.5 app/presenters/content_item_presenter.rb
woople-theme-0.2.4 app/presenters/content_item_presenter.rb
woople-theme-0.2.3 app/presenters/content_item_presenter.rb
woople-theme-0.2.2 app/presenters/content_item_presenter.rb
woople-theme-0.2.1 app/presenters/content_item_presenter.rb
woople-theme-0.2.0 app/presenters/content_item_presenter.rb
woople-theme-0.1.0 app/presenters/content_item_presenter.rb
woople-theme-0.0.6 app/presenters/content_item_presenter.rb
woople-theme-0.0.5 app/presenters/content_item_presenter.rb
woople-theme-0.0.4 app/presenters/content_item_presenter.rb
woople-theme-0.0.3 app/presenters/content_item_presenter.rb
woople-theme-0.0.2 app/presenters/content_item_presenter.rb