26 Oct '13, 2pm

awesome_print: A New Pretty Printer for your Ruby Objects via @delicious

awesome_print: A New Pretty Printer for your Ruby Objects via @delicious

awesome_print is a Ruby tool that provides "pretty printing" support for your objects. It's a bit like p , pp or, if you prefer, puts obj.inspect , but with significantly improved, contextual, colored output. Its creator and maintainer is Michael Dvorkin of Fat Free CRM fame. Being able to see "inside" Ruby objects on the fly can prove useful whether you're debugging some code your tests did not dare reach or you're just playing around in irb . The most common way to examine objects is with p or the inspect method, but these don't format their output in a particularly easy-to-read way. pp - part of the standard library - is a pretty printer that improves matters but it still leaves a lot to be desired. awesome_print takes it all to the next level. A visual comparison between pp and awesome_print proves compelling: awesome_print 's most compelling features are showing you t...

Full article: http://www.rubyinside.com/awesome_print-a-new-pretty-prin...

Tweets

Brother New InkBenefit Printer: All new Brother A3 Printers

Brother New InkBenefit Printer: All new Brother...

justinng.sg 25 Oct '13, 1pm

All new Brother A3 Printers, Brother MFC-J3720 InkBenefit and Brother MFC-J3520 InkBenefit were launched today. Built in w...

@smoozoid

rubyonrails.org 26 Oct '13, 3pm

If you're just getting started or want to learn about Rails in general, check the Rails Guides . APIs Browse all framework...

@muppfoto "Symbols are not lightweight Strings"...

rubylearning.com 25 Oct '13, 1pm

Ruby uses symbols, and maintains a Symbol Table to hold them. Symbols are names - names of instance variables, names of me...

UK Cops Fear Gun; Pointlessly Seize 3D Printer

UK Cops Fear Gun; Pointlessly Seize 3D Printer

hackaday.com 25 Oct '13, 6pm

After the first printed gun was fabricated the UK tabloids were full of stories of the “new terror on the streets”, one su...

『Ruby on Rails環境構築ガイド』読者サポートページの正誤表を更新。掲載したcapistranoのdeploy.rbがRails 3.2.14 以降でエラーになる問題に対応。

『Ruby on Rails環境構築ガイド』読者サポートページの正誤表を更新。掲載したcapi...

oiax.jp 27 Oct '13, 11am

$ cd ~/rails_root # 次のコマンドは、CentOS で PostgreSQL を使用する場合のみ実行(242ページ参照) $ bundle config build.pg --with-pg-config=/usr/pgsql...

Ten resources for taking your ruby skills to th...

rubyflow.com 28 Oct '13, 2am

Ten resources for taking your ruby skills to the next level Posted by skwp on October 28, 2013 — 0 comments The Reverb.com...

Yay! Ruby 2.1 has been released!

ruby-lang.org 29 Oct '13, 6am

Ruby 2.1.0-preview1 is released We are pleased to announce the release of Ruby 2.1.0-preview1. Please check out the new fe...

Hello pretty little shoe that is on sale.

solestruck.com 27 Oct '13, 3am

1. Do I have to use the "Sign in with Facebook" option on your site to get the discount? Yep! That is the only way to get ...

Perfect PCBs With an Inkjet Printer

Perfect PCBs With an Inkjet Printer

hackaday.com 02 Nov '13, 11am

Blowing toner around your workplace is really not good for your health, not to mention it gets everywhere and sticks. If y...

Acceptance Testing with Page Objects via @pivot...

pivotallabs.com 28 Oct '13, 3am

An acceptance test suite goes through stages of complexity. Our first acceptance tests started off using a browser DSL lik...