Sha256: 495af094c48000cfcdea3e902fa026739537d56203663fef5752ce7a02dbf877

Contents?: true

Size: 413 Bytes

Versions: 4

Compression:

Stored size: 413 Bytes

Contents

Description:
    Generate a simple presenter class.

    The name can be anything you want, there is no direct correlation between a
    presenter and a single model, although there is often a correlation with the
    presenter and the controller.

Example:
    rails generate prospecto:presenter User

    This will create:
        app/presenters/user_presenter.rb
        spec/presenters/user_presenter_spec.rb

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
prospecto-0.2.3 lib/generators/prospecto/presenter/USAGE
prospecto-0.2.2 lib/generators/prospecto/presenter/USAGE
prospecto-0.2.1 lib/generators/prospecto/presenter/USAGE
prospecto-0.2.0 lib/generators/prospecto/presenter/USAGE