M
Miquel
Hi
I want to make a question to all the ruby-lang people (I hope that
somebody answered it).
I'm writing a database GUI and I'm coding the backend using modules
and classes.
If I have this situation:
module A
protected
def b_method()
return 'foo->A'
end
end
class B
include A
def b_method()
return 'foo->B'
end
end
Is B's method b_method() protected? Is it public? What the hell is this
method (;-) ) ?
Thanks in advance
Kind regards
Miquel
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
I want to make a question to all the ruby-lang people (I hope that
somebody answered it).
I'm writing a database GUI and I'm coding the backend using modules
and classes.
If I have this situation:
module A
protected
def b_method()
return 'foo->A'
end
end
class B
include A
def b_method()
return 'foo->B'
end
end
Is B's method b_method() protected? Is it public? What the hell is this
method (;-) ) ?
Thanks in advance
Kind regards
Miquel
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com