From: Abder-Rahman Ali on 14 Jul 2010 08:09 I have this script from "Why's poignant guide to Ruby": http://pastie.org/1043938 And, have the following questions: 1- def join( sep = $,, format = "%s" ) What is: $, "%s" ? 2- How can I call a method on "end"? What is the purpose of doing it like that? end.join( sep ) 3- What is meant by this statement? rooms.join(", ", "%d bed" ) Thanks. -- Posted via http://www.ruby-forum.com/.
From: Abder-Rahman Ali on 21 Jul 2010 04:46 Thanks a lot. -- Posted via http://www.ruby-forum.com/.
|
Pages: 1 Prev: MAKE UPTO $5000 MONTHLY! $2000 INYOUR FIRST 30 DAYS! Next: Modules in Ruby |