Custom format specifiers

Discussion in 'Ruby' started by Kevin Olbrich, Sep 19, 2006.

  1. 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
    --
    Posted with http://DevLists.com. Sign up and save your mailbox.
    Kevin Olbrich, Sep 19, 2006
    #1
    1. Advertising

  2. Kevin Olbrich

    Hal Fulton Guest

    Kevin Olbrich 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
    Hal Fulton, Sep 19, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Pep
    Replies:
    0
    Views:
    633
  2. Ben Pfaff

    Re: C# format Specifiers Help.

    Ben Pfaff, Aug 21, 2003, in forum: C Programming
    Replies:
    0
    Views:
    401
    Ben Pfaff
    Aug 21, 2003
  3. Martin Ambuhl

    Re: C# format Specifiers Help.

    Martin Ambuhl, Aug 21, 2003, in forum: C Programming
    Replies:
    4
    Views:
    496
    Randy Howard
    Aug 22, 2003
  4. Jeff

    Re: C# format Specifiers Help.

    Jeff, Aug 21, 2003, in forum: C Programming
    Replies:
    0
    Views:
    454
  5. John Mott
    Replies:
    2
    Views:
    310
    John Mott
    Aug 7, 2007
Loading...

Share This Page