disposableMethod

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

disposableMethod

Howard Oh
I found below very interesting. It reminds me of Russell's paradox .


Object compile:
'disposableMethod

 [^''You will never see this message ever again!!'']
  ensure: [ self class compile: ''disposableMethod'' ]'.


Reply | Threaded
Open this post in threaded view
|

Re: disposableMethod

Chris Uppal-3
Howard Oh wrote:

> Object compile:
> 'disposableMethod
>
>  [^''You will never see this message ever again!!'']
>   ensure: [ self class compile: ''disposableMethod'' ]'.

Nice.  Now to try to think of a use for it...

    -- chris