IntelliJ Java IDE
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
Register / Login
JavaRanch » Java Forums » Other Languages » Ruby
Reply 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: 1300
p is a (decidedly cryptic) method that is the equivalent of
gary lucas
Greenhorn

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