Module: Extentions::ExtentionsHelper

Defined in:
lib/extentions/extentions_helper.rb

Instance Method Summary collapse

Instance Method Details

#extentions_for(model, context = self) ⇒ Object



3
4
5
# File 'lib/extentions/extentions_helper.rb', line 3

def extentions_for(model, context=self)
  Extentions.extentions_for(model, context)
end

#presenter_for(model, context = self) ⇒ Object



7
8
9
# File 'lib/extentions/extentions_helper.rb', line 7

def presenter_for(model, context = self)
  extentions_for(model, context).build_presenter
end