File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ruby and the fly likes Noob question a.each_slice(n){|a| p a} Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "Noob question a.each_slice(n){|a| p a}" Watch "Noob question a.each_slice(n){|a| p a}" New topic
Author

Noob question a.each_slice(n){|a| p a}

gary lucas
Greenhorn

Joined: Aug 28, 2011
Posts: 2
What's p?

Katrina Owen
Sheriff

Joined: Nov 03, 2006
Posts: 1357
    
  17
p is a (decidedly cryptic) method that is the equivalent of
gary lucas
Greenhorn

Joined: Aug 28, 2011
Posts: 2
Thanks, appreciated
 
wood burning stoves
 
subject: Noob question a.each_slice(n){|a| p a}
 
Similar Threads
90% of Kindergartener can solve this problem.
How 'bout them Sox
away for most of this week
Seen the Newsletter?
Weather forecasts