From: Adam Prescott Date: 2012-03-01T07:00:19+09:00 Subject: Re: Rubymoticons --14dae93994996de6b304ba217724 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2012/2/29 Bartosz Dziewo=C5=84ski > Actually, I think it does. But it doesn't strip the newline signs from > input, so just incidentally the resulting code is still valid Ruby, > with multiple lines. > > For example try this: > > irb(main):001:0> :- > irb(main):002:0* .object_id > =3D> 548 > > I agree it seems like a bug. Anybody cares enough to report it? ;) > Maybe I'm missing something, but: $ ruby -ve 'puts :- .class' ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux] Symbol --14dae93994996de6b304ba217724 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2012/2/29 Bartosz Dziewo=C5=84ski <matma.rex@gmail.com><= /span>
Actually, I think it does. But it doesn't strip the ne= wline signs from
input, so just incidentally the resulting code is still valid Ruby,
with multiple lines.

For example try this:

irb(main):001:0> :-
irb(main):002:0* .object_id
=3D> 548

I agree it seems like a bug. Anybody cares enough to report it? ;)

Maybe I'm missing something, but:

$ ruby -ve 'puts :-
.class'
ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]
Symb= ol
--14dae93994996de6b304ba217724--