Sha256: c9070872040873d3c77ebb583bd68f1fe3fc96b20602ad8ab92f9503e8886289
Contents?: true
Size: 249 Bytes
Versions: 54
Compression:
Stored size: 249 Bytes
Contents
module Para module Admin module DecoratorsHelper def decorated(object) object.tap(&method(:decorate)) end def decorate(object) ActiveDecorator::Decorator.instance.decorate(object) end end end end
Version data entries
54 entries across 54 versions & 1 rubygems