Both #as (Parslet, Sequel, MetaWhere, hacketyhack, Facets, Ruport, CouchPot=
ato, ...) 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.
>=20
>=20
> 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
>=20
> ----------------------------------------
> http://redmine.ruby-lang.org
>=20