Sha256: 06c97c32ebe91c2a4b7f1ba85fb157a2a6d749001dfe595c2fe6b9a7c9c5af98
Contents?: true
Size: 566 Bytes
Versions: 3
Compression:
Stored size: 566 Bytes
Contents
Description: The behavior generator creates stubs for a new behavior. The generator takes a model name as its argument. The model name may be given in CamelCase or under_score and should not be suffixed with 'Behavior'. The generator creates a model class in app/behaviors and a test suite in test/unit/behaviors. Example: ./script/generate behavior BookArchive This will create a BookArchive behavior: Behavior: app/behaviors/book_archive_behavior.rb Test: test/unit/behaviors/book_archive_behavior_test.rb
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
radiant-0.5.0 | lib/generators/behavior/USAGE |
radiant-0.5.1 | lib/generators/behavior/USAGE |
radiant-0.5.2 | lib/generators/behavior/USAGE |