mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
minor rephrasing
This commit is contained in:
@@ -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 :
|
||||
|
||||
Reference in New Issue
Block a user