Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Sample of Rails3 generator
Ruby
tree: a1228a1211

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/generators/foo
README.md
init.rb

README.md

Sample of rails3 generator

rails3_generator_sample
|-- README.md
|-- init.rb
`-- lib
    `-- generators                # directory of generators
        `-- foo                   # directory of "foo generator"
            |-- foo_generator.rb  # script of "foo generator"
            `-- templates         # directory of templates (specified as "source_root" in foo_generator.rb)
                `-- foo           # foo!
Something went wrong with that request. Please try again.