module Draper::Decoratable

Provides shortcuts to decorate objects directly, so you can do ‘@product.decorate` instead of `ProductDecorator.new(@product)`.

This module is included by default into ‘ActiveRecord::Base` and `Mongoid::Document`, but you’re using another ORM, or want to decorate plain old Ruby objects, you can include it manually.