From: "Vít Ondruch" Date: 2011-01-12T03:37:38+09:00 Subject: [ruby-core:34378] Re: [Ruby 1.9-Feature#4264] General type coercion protocol for Ruby I prefer #to. #as reminds my typecasting (Delphi) but this is actually type conversion. Vit Dne 11.1.2011 17:46, Haase, Konstantin napsal(a): > Both #as (Parslet, Sequel, MetaWhere, hacketyhack, Facets, Ruport, CouchPotato, ...) and #to (RSpec, Ramaze, ActiveSupport) are use in DSLs. > However, I really prefer #to. > > Konstantin > > On Jan 11, 2011, at 17:39 , Rodrigo Rosenfeld Rosas wrote: > >> Issue #4264 has been updated by Rodrigo Rosenfeld Rosas. >> >> >> Although I don't like Groovy very much (but still use it at a daily basis as part of my current job - at least it is not as bad as Grails - ARGH!), I think 'as' is also a good name and maybe even better than 'to'. >> ---------------------------------------- >> http://redmine.ruby-lang.org/issues/show/4264 >> >> ---------------------------------------- >> http://redmine.ruby-lang.org >> >