[ruby-talk:02467] Re: String#tr

From: matz@... (Yukihiro Matsumoto)
Date: 2000-04-12 13:58:32 UTC
List: ruby-talk #2467
Hi,

In message "[ruby-talk:02453] Re: String#tr"
    on 00/04/11, Quinn Dunkan <quinn@envy.ugcs.caltech.edu> writes:

|Keyword args are nice and all, but what I meant was:
|
|String#tr(search, replace, String.SQUEEZE | String.COMPLEMENT)
|
|A bit C-ish, but not so hard on the eyes even so.

I knew what you meant.  But I didn't want to invent new bit flags for
Ruby.  IO#open accepts this style of flags, but it's not invented here.

							matz.

In This Thread

Prev Next