Module: Draper::HelperSupport

Defined in:
lib/draper/helper_support.rb

Instance Method Summary collapse

Instance Method Details

#decorate(input, &block) ⇒ Object



2
3
4
# File 'lib/draper/helper_support.rb', line 2

def decorate(input, &block)
  capture { block.call(input.decorate) }
end