Sha256: a9845f0ba1d2f877822e4c5a5c11eda01af262c393b3acfec9c4e386f24476f6
Contents?: true
Size: 403 Bytes
Versions: 3
Compression:
Stored size: 403 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 presenter User This will create: app/presenters/user_presenter.rb spec/presenters/user_presenter_spec.rb
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
prospecto-0.1.3 | lib/generators/presenter/USAGE |
prospecto-0.1.1 | lib/generators/presenter/USAGE |
prospecto-0.0.9 | lib/generators/presenter/USAGE |