aspose 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
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: 1367
    
  18
p is a (decidedly cryptic) method that is the equivalent of
gary lucas
Greenhorn

Joined: Aug 28, 2011
Posts: 2
Thanks, appreciated
 
jQuery in Action, 2nd edition
 
subject: Noob question a.each_slice(n){|a| p a}