Sha256: fde18eb300fcbcb0a4ee413328173b82b5f5ed3b820b656641b4aa1e6936e5f1

Contents?: true

Size: 186 Bytes

Versions: 55

Compression:

Stored size: 186 Bytes

Contents

module ThinkFeelDoEngine
  # Used to present a presenter classes within a view.
  module PresentersHelper
    def present(options, klass)
      yield klass.new(options)
    end
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
think_feel_do_engine-3.19.9 app/helpers/think_feel_do_engine/presenters_helper.rb
think_feel_do_engine-3.19.8 app/helpers/think_feel_do_engine/presenters_helper.rb
think_feel_do_engine-3.19.7 app/helpers/think_feel_do_engine/presenters_helper.rb
think_feel_do_engine-3.19.6 app/helpers/think_feel_do_engine/presenters_helper.rb
think_feel_do_engine-3.19.5 app/helpers/think_feel_do_engine/presenters_helper.rb
think_feel_do_engine-3.19.4 app/helpers/think_feel_do_engine/presenters_helper.rb
think_feel_do_engine-3.19.3 app/helpers/think_feel_do_engine/presenters_helper.rb
think_feel_do_engine-3.19.2 app/helpers/think_feel_do_engine/presenters_helper.rb
think_feel_do_engine-3.19.1 app/helpers/think_feel_do_engine/presenters_helper.rb
think_feel_do_engine-3.19.0 app/helpers/think_feel_do_engine/presenters_helper.rb
think_feel_do_engine-3.18.0 app/helpers/think_feel_do_engine/presenters_helper.rb
think_feel_do_engine-3.17.2 app/helpers/think_feel_do_engine/presenters_helper.rb
think_feel_do_engine-3.17.1 app/helpers/think_feel_do_engine/presenters_helper.rb
think_feel_do_engine-3.17.0 app/helpers/think_feel_do_engine/presenters_helper.rb
think_feel_do_engine-3.16.3 app/helpers/think_feel_do_engine/presenters_helper.rb
think_feel_do_engine-3.16.2 app/helpers/think_feel_do_engine/presenters_helper.rb
think_feel_do_engine-3.16.1 app/helpers/think_feel_do_engine/presenters_helper.rb
think_feel_do_engine-3.15.7 app/helpers/think_feel_do_engine/presenters_helper.rb
think_feel_do_engine-3.16.0 app/helpers/think_feel_do_engine/presenters_helper.rb
think_feel_do_engine-3.15.6 app/helpers/think_feel_do_engine/presenters_helper.rb