The Artima Developer Community
Sponsored Link

Java Buzz Forum
Pretty array printing in Ruby

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Derek Kaczmarczyk

Posts: 135
Nickname: dkaz
Registered: Jul, 2003

Derek Kaczmarczyk is a Platform Architect for a large online e-commerce site
Pretty array printing in Ruby Posted: Nov 16, 2005 11:23 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Derek Kaczmarczyk.
Original Post: Pretty array printing in Ruby
Feed Title: S T R A Y neuron
Feed URL: http://www.strayneuron.com/mt/techindex.rdf
Feed Description: Java & Open Source musings by dkaz, a connoisseur of elegance through simplicity
Latest Java Buzz Posts
Latest Java Buzz Posts by Derek Kaczmarczyk
Latest Posts From S T R A Y neuron

Advertisement
Use the pretty print package! (thanks DT) irb(main):001:0> require 'pp' => true irb(main):002:0> a = ['abc', 'def', 'ghi'] => ["abc", "def", "ghi"] irb(main):003:0> pp a ["abc", "def", "ghi"] => nil...

Read: Pretty array printing in Ruby

Topic: Dad [Flickr] Previous Topic   Next Topic Topic: When clients (and bosses) go bad...

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use