mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Generator guide grammatical error fixed [ci skip]
This commit is contained in:
parent
b84918057b
commit
7021e66588
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ $ bin/rails generate helper --help
|
|||
Creating Your First Generator
|
||||
-----------------------------
|
||||
|
||||
Since Rails 3.0, generators are built on top of [Thor](https://github.com/erikhuda/thor). Thor provides powerful options parsing and a great API for manipulating files. For instance, let's build a generator that creates an initializer file named `initializer.rb` inside `config/initializers`.
|
||||
Since Rails 3.0, generators are built on top of [Thor](https://github.com/erikhuda/thor). Thor provides powerful options for parsing and a great API for manipulating files. For instance, let's build a generator that creates an initializer file named `initializer.rb` inside `config/initializers`.
|
||||
|
||||
The first step is to create a file at `lib/generators/initializer_generator.rb` with the following content:
|
||||
|
||||
|
|
Loading…
Reference in a new issue