:s.respond_to?(:dup) && :s.dup raises

Discussion in 'Ruby' started by François Beausoleil, Apr 5, 2007.

  1. SGkgYWxsICEKClN5bWJvbCBsaWVzIGFib3V0IGl0J3MgYWJpbGl0eSB0byByZXNwb25kX3RvPyB0
    byAjZHVwOgoKaXJiKG1haW4pOjAwMTowPiA6cy5yZXNwb25kX3RvPyg6ZHVwKQo9PiB0cnVlCmly
    YihtYWluKTowMDI6MD4gOnMuZHVwClR5cGVFcnJvcjogY2FuJ3QgZHVwIFN5bWJvbAogICAgICAg
    IGZyb20gKGlyYik6MjppbiBgZHVwJwogICAgICAgIGZyb20gKGlyYik6MgoKRml4bnVtIGRvZXMg
    dGhlIHNhbWUgdGhpbmcuICBZb3UgbWlnaHQgYXJndWUgdGhhdCB0aGUgb2JqZWN0ICpjYW4qCnJl
    c3BvbmQgdG8gOmR1cCwgZXhjZXB0IGl0J3Mgc2ltcGx5IGlsbGVnYWwgdG8gcmVzcG9uZCB0byBp
    dC4KCkFueXdheSwgbXkgZmVlbGluZyBpcyB0aGF0IFN5bWJvbCBhbmQgRml4bnVtIChwcm9iYWJs
    eSBOdW1lcmljKSBzaG91bGQKbm90IHJlc3BvbmRfdG8/KDpkdXApLgoKVGhhbmtzICEKLS0gCkZy
    YW7Dp29pcyBCZWF1c29sZWlsCmh0dHA6Ly9ibG9nLnRla3NvbC5pbmZvLwpodHRwOi8vcGlzdG9u
    LnJ1Ynlmb3JnZS5vcmcvCg==
     
    François Beausoleil, Apr 5, 2007
    #1
    1. Advertising

  2. François Beausoleil

    Tim Hunter Guest

    Tim Hunter, Apr 5, 2007
    #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. Jamis Buck

    OpenStruct respond_to? problem

    Jamis Buck, Aug 24, 2004, in forum: Ruby
    Replies:
    17
    Views:
    277
    Mauricio Fernández
    Aug 25, 2004
  2. Replies:
    5
    Views:
    132
  3. David Heinemeier Hansson
    Replies:
    3
    Views:
    147
    julian
    Mar 28, 2006
  4. Ruby Rabbit

    99.respond_to? :dup ==> true

    Ruby Rabbit, Jan 13, 2009, in forum: Ruby
    Replies:
    4
    Views:
    128
    Ruby Rabbit
    Jan 13, 2009
  5. Luka Stolyarov
    Replies:
    10
    Views:
    313
    Thomas Sondergaard
    Sep 11, 2010
Loading...

Share This Page