On May 10, 2008, at 12:29 PM, Sean O'Halpin wrote:
> DSL(Foo) do
>  has :name
> end
>
> foo = Foo.new
> foo.name = 'Trillian'
                          ^^^^^^
heh

>
> foo.name # => "Trillian"
> p Foo.methods - Object.methods
> # >> []
>
> which is basically the same approach as yours I believe.

yup, exactly.  it's so liberating to have clean slate for the dsl -  
this is my current preferred approach.

cheers.

a @ http://codeforpeople.com/
--
we can deny everything, except that we have the possibility of being  
better. simply reflect on that.
h.h. the 14th dalai lama