Does a Role inherit?

8 views
Skip to first unread message

Cazzaran

unread,
Feb 16, 2011, 6:17:48 PM2/16/11
to Joose
If a Class has a Role, do SubClasses inherit all of the methods of
that Role along with the SuperClass's normal methods?

Malte Ubl

unread,
Feb 17, 2011, 2:20:20 AM2/17/11
to joos...@googlegroups.com
Yes.

On Thu, Feb 17, 2011 at 12:17 AM, Cazzaran <joshua....@gmail.com> wrote:
> If a Class has a Role, do SubClasses inherit all of the methods of
> that Role along with the SuperClass's normal methods?
>

> --
> You received this message because you are subscribed to the Google Groups "Joose" group.
> To post to this group, send email to joos...@googlegroups.com.
> To unsubscribe from this group, send email to joose-js+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/joose-js?hl=en.
>
>

--
http://twitter.com/cramforce
http://nonblocking.io

Reply all
Reply to author
Forward
0 new messages