Sha256: 798747768a3df14ba0a9d89db9247a0fe8db934067ed54fecd040b40da2ef587
Contents?: true
Size: 808 Bytes
Versions: 2
Compression:
Stored size: 808 Bytes
Contents
Usage: motion jb:generate <class-type> <class-name> Options: class-type # Class to be generated (Sprite, Scene, Layer) class-name # Name of the class Description: Generates a new class according to the class type and name, those parameters can be sended either CamelCased or snake_cased. Also a test class will be generated and placed inside the spec folder. Example: 'motion jb:generate layer game' This will generate a Layer class named 'GameLayer' with the following files: class: 'app/layers/game_layer.rb' spec: 'spec/layers/game_layer_spec.rb' The list of posible paths according to the class type: Sprite: app/sprites/ - spec/sprites/ Layer: app/layers/ - spec/layers/ Scene: app/scenes/ - spec/scenes/
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
joybox-1.0.0 | command/joybox/USAGE |
joybox-0.0.6 | command/joybox/USAGE |