Skip to content

Instantly share code, notes, and snippets.

@jnicklas
Forked from michaelklishin/gist:2919
Created July 28, 2008 17:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnicklas/2920 to your computer and use it in GitHub Desktop.
Save jnicklas/2920 to your computer and use it in GitHub Desktop.
Gem structure:
/merb-slices
/lib
/spec
...
/merb_generators
/generators.rb # this is what we glob for
/slice_generator # this is required by generators.rb
/thin_slice_generator
/very_thin_slice_generator
Discovery does the following:
* globs for merb_generators/generators.rb
* executes that file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment