mirror of
https://github.com/awesome-print/awesome_print
synced 2023-03-27 23:22:34 -04:00
Added example for ap returning object to README
This commit is contained in:
parent
2031929f35
commit
e9a0387eec
1 changed files with 8 additions and 0 deletions
|
@ -129,6 +129,14 @@ Supported color names:
|
|||
[19] upcase!() String
|
||||
]
|
||||
|
||||
$ cat > 6.rb
|
||||
require "ap"
|
||||
ap(42 == ap(42))
|
||||
^D
|
||||
$ ruby 6.rb
|
||||
42
|
||||
true
|
||||
|
||||
### Example (Rails console) ###
|
||||
$ ruby script/console
|
||||
Loading development environment (Rails 2.3.5)
|
||||
|
|
Loading…
Reference in a new issue