Seems the best solution is the straight OOP solution:
class Y X
...
something = some_method
end
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To
On 12 April 2010 15:07, RVince rvinc...@hotmail.com wrote:
Seems the best solution is the straight OOP solution:
class Y X
...
something = some_method
end
I'd say it depends on whether Y really IS AN X. If not, but they have
similar roles, I'd say you're better of doing
2 matches
Mail list logo