1
0
Fork 0
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:
Stephan Hagemann 2011-05-03 01:33:14 +02:00
parent 2031929f35
commit e9a0387eec

View file

@ -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)