mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
wrap methods in backticks [ci skip]
This commit is contained in:
parent
5f72fc6af8
commit
5facaca7d8
1 changed files with 2 additions and 2 deletions
|
@ -587,7 +587,7 @@ def run_initializers(group=:default, *args)
|
|||
end
|
||||
```
|
||||
|
||||
The run_initializers code itself is tricky. What Rails is doing here is
|
||||
The `run_initializers` code itself is tricky. What Rails is doing here is
|
||||
traversing all the class ancestors looking for those that respond to an
|
||||
`initializers` method. It then sorts the ancestors by name, and runs them.
|
||||
For example, the `Engine` class will make all the engines available by
|
||||
|
@ -642,7 +642,7 @@ def build_app(app)
|
|||
end
|
||||
```
|
||||
|
||||
Remember, `build_app` was called (by wrapped_app) in the last line of `Server#start`.
|
||||
Remember, `build_app` was called (by `wrapped_app`) in the last line of `Server#start`.
|
||||
Here's how it looked like when we left:
|
||||
|
||||
```ruby
|
||||
|
|
Loading…
Reference in a new issue