mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
minor rephrasing
This commit is contained in:
parent
fab5fe7f60
commit
c86cdea1b8
1 changed files with 1 additions and 3 deletions
|
@ -198,7 +198,7 @@ route "root :to => 'person#index'"
|
|||
|
||||
h4. inside(dir)
|
||||
|
||||
I have my edge rails lying at +~/commit-rails/rails+. So every time i have to manually symlink edge from my new app. But now :
|
||||
Enables you to run a command from the given directory. For example, if you have a copy of edge rails that you wish to symlink from your new apps, you can do this:
|
||||
|
||||
<ruby>
|
||||
inside('vendor') do
|
||||
|
@ -206,8 +206,6 @@ inside('vendor') do
|
|||
end
|
||||
</ruby>
|
||||
|
||||
So +inside()+ runs the command from the given directory.
|
||||
|
||||
h4. ask(question)
|
||||
|
||||
+ask()+ gives you a chance to get some feedback from the user and use it in your templates. Lets say you want your user to name the new shiny library you’re adding :
|
||||
|
|
Loading…
Reference in a new issue