Sha256: 50c978546833f822c47e530a8b22ab7eb51ab3f905528cca9e7f66c788f27d3f
Contents?: true
Size: 176 Bytes
Versions: 5
Compression:
Stored size: 176 Bytes
Contents
class ContentTextDecorator < Draper::Decorator delegate_all def render content.to_s.html_safe end def content_type_is?(value) value.to_sym == :text end end
Version data entries
5 entries across 5 versions & 1 rubygems