Sha256: 83f3305f323d6eea7d03b6ae61b2820f18482ef53782dd08972da4439bec2d47

Contents?: true

Size: 134 Bytes

Versions: 19

Compression:

Stored size: 134 Bytes

Contents

class ContentImageDecorator < ApplicationDecorator
  delegate_all

  def content_type_is?(value)
    value.to_sym == :image
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
udongo-5.7.0 app/decorators/content_image_decorator.rb
udongo-5.6.0 app/decorators/content_image_decorator.rb
udongo-5.5.0 app/decorators/content_image_decorator.rb
udongo-5.4.0 app/decorators/content_image_decorator.rb
udongo-5.3.1 app/decorators/content_image_decorator.rb
udongo-5.3.0 app/decorators/content_image_decorator.rb
udongo-5.2.0 app/decorators/content_image_decorator.rb
udongo-5.1.0 app/decorators/content_image_decorator.rb
udongo-5.0.2 app/decorators/content_image_decorator.rb
udongo-5.0.1 app/decorators/content_image_decorator.rb
udongo-5.0.0 app/decorators/content_image_decorator.rb
udongo-4.0.0 app/decorators/content_image_decorator.rb
udongo-3.0.0 app/decorators/content_image_decorator.rb
udongo-2.0.4 app/decorators/content_image_decorator.rb
udongo-2.0.3 app/decorators/content_image_decorator.rb
udongo-2.0.2 app/decorators/content_image_decorator.rb
udongo-2.0.1 app/decorators/content_image_decorator.rb
udongo-2.0.0 app/decorators/content_image_decorator.rb
udongo-1.0.4 app/decorators/content_image_decorator.rb