mirror of
https://github.com/awesome-print/awesome_print
synced 2023-03-27 23:22:34 -04:00
Update PRY integration section (#411)
Mention how `.pryrc` can be used so that a project always uses awesome_print. (I'm checking that file in for myself and my teammates.)
This commit is contained in:
parent
9ae56ba413
commit
8a7ff0aaba
1 changed files with 2 additions and 1 deletions
|
@ -308,7 +308,8 @@ AwesomePrint.irb!
|
||||||
|
|
||||||
### PRY integration ###
|
### PRY integration ###
|
||||||
If you miss awesome_print's way of formatting output, here's how you can use it in place
|
If you miss awesome_print's way of formatting output, here's how you can use it in place
|
||||||
of the formatting which comes with pry. Add the following code to your ~/.pryrc:
|
of the formatting which comes with pry. Add the following code to your `~/.pryrc`
|
||||||
|
or your project's `./.pryrc`:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
require "awesome_print"
|
require "awesome_print"
|
||||||
|
|
Loading…
Reference in a new issue