[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

alias_accessor

Trans

9/5/2008 2:49:00 PM

I don't understand why something like this isn't in core.

class Module

def alias_accessor(new, old)
alias_method(new, old)
alias_method("#{new}=", "#{old}=")
end

end

Is there some other way to handle this that I'm missing?

2 Answers

Orval Fairbairn

10/20/2011 6:00:00 AM

0

On Thu, 20 Oct 2011 01:58:11 -0400, Floyd From Forum Camelot wrote:

> On Thu, 20 Oct 2011 01:56:22 -0400, Tom wrote:
> On Thu, 20 Oct 2011 01:56:22 -0400, Tom wrote:On Thu, 20 Oct 2011
> 01:56:22 -0400, Tom wrote:> On Thu, 20 Oct 2011 01:38:16 -0400, Floyd
> From Forum Camelot wrote:
>>
>>> The goddamned sonofamotherfuckingbitch got my ass *BANNED* from
>>> Project Camelot forum!
>>>
>>> GODDAMMITSONOFABITCH I hate that motherfucker!
>>>
>>> Maybe he'll invite me over and let me suck his dick now. <sigh>
>>
>> What did I tell you, you ignorant cunt?
>>
>> "Tough fucking shit, stay on you're assclown forum and next time, when
>> you cum to play with the big boys, whip it off thrice before you
>> ejaculate all over Usenet and Project Cumalot. LOL"
>>
>> Assclown.
>>
>> That you are.
>>
>> You were sooooooooooooooooooooo fukken easy.
>>
>> *ROFLMAOAY*??
>
> YOU...YOU...YOU...SET ME UP

OF COURSE YOU STUTTERING, CAPSLOCKKEY STUCK DUMBASSCLOWN!

Floyd From Forum Camelot

10/20/2011 6:03:00 AM

0

On Thu, 20 Oct 2011 01:59:34 -0400, Orval Fairbairn wrote:

> On Thu, 20 Oct 2011 01:58:11 -0400, Floyd From Forum Camelot wrote:
>
>> On Thu, 20 Oct 2011 01:56:22 -0400, Tom wrote:
>> On Thu, 20 Oct 2011 01:56:22 -0400, Tom wrote:On Thu, 20 Oct 2011
>> 01:56:22 -0400, Tom wrote:> On Thu, 20 Oct 2011 01:38:16 -0400, Floyd
>> From Forum Camelot wrote:
>>>
>>>> The goddamned sonofamotherfuckingbitch got my ass *BANNED* from
>>>> Project Camelot forum!
>>>>
>>>> GODDAMMITSONOFABITCH I hate that motherfucker!
>>>>
>>>> Maybe he'll invite me over and let me suck his dick now. <sigh>
>>>
>>> What did I tell you, you ignorant cunt?
>>>
>>> "Tough fucking shit, stay on you're assclown forum and next time, when
>>> you cum to play with the big boys, whip it off thrice before you
>>> ejaculate all over Usenet and Project Cumalot. LOL"
>>>
>>> Assclown.
>>>
>>> That you are.
>>>
>>> You were sooooooooooooooooooooo fukken easy.
>>>
>>> *ROFLMAOAY*??
>>
>> YOU...YOU...YOU...SET ME UP
>
> OF COURSE YOU STUTTERING, CAPSLOCKKEY STUCK DUMBASSCLOWN!

______________
/ | WHAAAAAAAAAAA! |
\__ _________/
/ ,'
_.~._ /,'
,~'.~@~.`~.
/ : _..._ : { :,"''\\`".: }
`C) 0 _ 0 (--.._,-"""-.__
( ) @ ( ) `.
`-.-_-.-' ,' \ / ,` ;`-._,-.
,' ,'/ ,' `---t.,-. \_
,--.,',' ,'----.__\ _( \----'
'///,`,--.,' `-.__.--' `. )

--
I Cum A Lot In Camelot! http://tinyurl.c...