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-2.1.0.beta2 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-2.1.0.beta1 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-2.0.1 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-2.0.0 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-2.0.0.beta1 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-1.0.1 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-1.0.0 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-1.0.0rc1 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-0.12.0 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-0.11.0 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-0.10.2 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-0.10.1 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-0.10.0 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-0.9.1 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-0.9.0 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-0.8.0 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-0.7.0 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-0.6.1 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-0.6.0 lib/generators/curly/controller/templates/presenter.rb.erb
curly-templates-0.5.0 lib/generators/curly/controller/templates/presenter.rb.erb