Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Class & modifiers modifiers
Miquel Oliete
1/25/2007 2:58:00 PM
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...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Class & modifiers modifiers
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password