G: Like Kernel#p but outputs to Growl on OS X
“g” is a new library that provides a global “g” method that you can use to inspect objects much in the same way as Kernel#p. The difference is that the output goes to Growl, a popular OS X global notifications tool. It’s technically an easy gem install and go, but if you have problems with it not finding Growl, this blog post about getting ruby-growl working should salve your distress.
Comments
My simple growl example @ http://github.com/bry4n/growl-ruby-example
That’s an interesting, and potentially better, alternative!
Post a comment