Sha256: 7ff4973df9c9ace6ed7780cb5ebb1e0d286c54c2d3ccbed63ccc68041abdfc26
Contents?: true
Size: 180 Bytes
Versions: 7
Compression:
Stored size: 180 Bytes
Contents
module Draper::ModelSupport def decorator @decorator ||= "#{self.class.name}Decorator".constantize.decorate(self) block_given? ? yield(@decorator) : @decorator end end
Version data entries
7 entries across 7 versions & 1 rubygems