Sha256: e663e6ff3e40b0aed40a02b5120845e46f810c59dd84d650a16a92d3c0d11b97

Contents?: true

Size: 660 Bytes

Versions: 62

Compression:

Stored size: 660 Bytes

Contents

Description:
    Generates a new decorator for a given PATH in a Workarea platform
    component (or plugin), and a decorator for its unit test from the existing
    codebase in your host app.

Example:
    rails generate workarea:decorator app/models/workarea/search/storefront/product.rb

    This will create:
        app/models/workarea/search/storefront/product.decorator
        test/models/workarea/search/storefront/product_test.decorator (if a test exists)

    If no tests exist, it will also show a huge warning message stating the class you're
    about to decorate has NO tests, so anything you change must be also
    verified in the unit tests.

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-core-3.5.27 lib/generators/workarea/decorator/USAGE
workarea-core-3.5.26 lib/generators/workarea/decorator/USAGE
workarea-core-3.4.45 lib/generators/workarea/decorator/USAGE
workarea-core-3.5.25 lib/generators/workarea/decorator/USAGE
workarea-core-3.5.23 lib/generators/workarea/decorator/USAGE
workarea-core-3.4.44 lib/generators/workarea/decorator/USAGE
workarea-core-3.5.22 lib/generators/workarea/decorator/USAGE
workarea-core-3.4.43 lib/generators/workarea/decorator/USAGE
workarea-core-3.5.21 lib/generators/workarea/decorator/USAGE
workarea-core-3.4.42 lib/generators/workarea/decorator/USAGE
workarea-core-3.5.20 lib/generators/workarea/decorator/USAGE
workarea-core-3.4.41 lib/generators/workarea/decorator/USAGE
workarea-core-3.5.19 lib/generators/workarea/decorator/USAGE
workarea-core-3.4.40 lib/generators/workarea/decorator/USAGE
workarea-core-3.5.18 lib/generators/workarea/decorator/USAGE
workarea-core-3.4.39 lib/generators/workarea/decorator/USAGE
workarea-core-3.5.17 lib/generators/workarea/decorator/USAGE
workarea-core-3.4.38 lib/generators/workarea/decorator/USAGE
workarea-core-3.5.16 lib/generators/workarea/decorator/USAGE
workarea-core-3.4.37 lib/generators/workarea/decorator/USAGE