Ver Mensaje Individual
  #1 (permalink)  
Antiguo 01/10/2011, 08:43
bigwhite
 
Fecha de Ingreso: agosto-2009
Mensajes: 247
Antigüedad: 14 años, 9 meses
Puntos: 10
Que es el metodo 'p' ??

class Foo
@a = 123 # (1)
def foo
p @a # que es este metodo 'p' ????
end
end

obj = Foo.new
obj.foo

Veo mucho en tutoriales la llamada a 'p' y NI IDEA que es

GRACIAS MUCHAS!
__________________
The best powerful search engine for MSN messenger profiles I know is msn profile viewer. It's really good either if you have an e-mail address or not. Try it!