« Return to Thread: simple way to encapsulate class << self ; attr_accessor :xyz ; end?

Re: simple way to encapsulate class << self ; attr_accessor

by Ben Tompkins :: Rate this Message:

Reply to Author | View in Thread

Giles,

While you're at it, how about overloading >> to alias << in the context
of
class OPERATOR object, as the arrows are obviously pointing the wrong
way as
it stands :). (See my "dyslexic" posting on this forum - i.e. do a
search on "dyslexic" and read my final posting for that thread.

Ben

--
Posted via http://www.ruby-forum.com/.

 « Return to Thread: simple way to encapsulate class << self ; attr_accessor :xyz ; end?