README.md in stack_tracy-0.1.6 vs README.md in stack_tracy-0.1.7
- old
+ new
@@ -382,11 +382,11 @@
use StackTracy::Sinatra, "."
This will immediately open the stack tree in your default browser after every traced request:
- use StackTracy::Sinatra, :open do
+ use StackTracy::Sinatra, :open do |path, params|
path == "/paul/engel" #=> only trace and open stack tree when opening "http://localhost:4567/paul/engel"
end
Reduce the stack tree and open it immediately:
@@ -397,10 +397,10 @@
The StackTracy repo is provided with `script/console` which you can use for development / testing purposes.
Run the following command in your console:
$ script/console
- Loading development environment (StackTracy 0.1.6)
+ Loading development environment (StackTracy 0.1.7)
[1] pry(main)> stack_tracy :print do
[1] pry(main)* puts "testing"
[1] pry(main)* end
testing
Kernel#puts <0.000121>
\ No newline at end of file