module Dekorator::Controller
Public Instance Methods
decorate(object_or_enumerable, with: nil)
click to toggle source
# File lib/dekorator/rails/controller.rb, line 13 def decorate(object_or_enumerable, with: nil) Dekorator::Base.decorate(object_or_enumerable, with: with) end