Module: ThinkFeelDoEngine::PresentersHelper
- Defined in:
- app/helpers/think_feel_do_engine/presenters_helper.rb
Overview
Used to present a presenter classes within a view.
Instance Method Summary collapse
Instance Method Details
#present(options, klass) {|klass.new(options)| ... } ⇒ Object
5 6 7 |
# File 'app/helpers/think_feel_do_engine/presenters_helper.rb', line 5 def present(, klass) yield klass.new() end |