Re: Extending existing methods of base classes and Loose Methods.
- From: "Esteban A. Maringolo" <eMaringolo@xxxxxxxxx>
- Date: Mon, 03 Mar 2008 09:36:01 -0300
Hi Marc,
Marc Michael escribió:
On 25 Feb., 16:01, cenopel...@xxxxxxxxx wrote:
I would use sublcass, or any other way, it would be interested to here
further toths on this subject.
A subclass wouldn't be fine IMO. My application is a simple URL-
Encoder/-Decoder. I want to encode a string. So I simply added a
method urlEncoder to the class String and now I am able to do the
following:
'Hello#World' urlEncode
Just FYI, the Swazoo package, already defines such functionality on String, trough httpEncoded/httpDecoded methods.
Best regards,
--
Esteban.
.
- Follow-Ups:
- Re: Extending existing methods of base classes and Loose Methods.
- From: Marc Michael
- Re: Extending existing methods of base classes and Loose Methods.
- References:
- Re: Extending existing methods of base classes and Loose Methods.
- From: Marc Michael
- Re: Extending existing methods of base classes and Loose Methods.
- Prev by Date: Re: Dolphin rocks
- Next by Date: Proper way of adding key bindings
- Previous by thread: Re: Extending existing methods of base classes and Loose Methods.
- Next by thread: Re: Extending existing methods of base classes and Loose Methods.
- Index(es):
Relevant Pages
|