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

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

by Logan Capaldo :: Rate this Message:

Reply to Author | View in Thread

On 9/8/07, Ben Tompkins <nbitspoken@...> wrote:
> 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.
>
Arrows? What arrows? Those are bitshift operators.
Bitshift operators? What bitshift operators? Those are pairs of less
than and greater than symbols.
> Ben
>
> --
> Posted via http://www.ruby-forum.com/.
>
>

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