Custom format specifiers

Ruby has bunch of nifty shortcuts like

%W{}, %r{}, etc…

Is there any way to define a new one, or are these hard-wired?

_Kevin
www.sciwerks.com

Kevin O. wrote:

Ruby has bunch of nifty shortcuts like

%W{}, %r{}, etc…

Is there any way to define a new one, or are these hard-wired?

They’re hard-wired… but there has been some discussion
of customized ones.

Hal

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs