Sha256: 188a5ee6332b81f08c5840161bb7bcfd140a6c0416151c3ccf53d22df9f46ced

Contents?: true

Size: 335 Bytes

Versions: 45

Compression:

Stored size: 335 Bytes

Contents

class <%= @presenter_name %> < Curly::Presenter
  # If you need to assign variables to the presenter, you can use the
  # `presents` method.
  #
  #   presents :foo, :bar
  #
  # Any public method defined in a presenter class will be available
  # to the Curly template as a variable. Consider making these methods
  # idempotent.
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
curly-templates-3.4.0 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-3.3.0 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-3.2.0 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-3.1.0 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-3.0.0 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-2.6.5 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-2.6.4 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-2.6.3 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-2.6.2 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-2.6.1 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-2.6.0 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-2.5.0 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-2.4.1 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-2.4.0 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-2.3.2 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-2.3.1 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-2.3.0 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-2.2.0 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-2.1.1 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-2.1.0 lib/generators/curly/controller/templates/presenter.rb.erb