From: bwalton@artsci.utoronto.ca (Ben Walton)
Subject: [sup-talk] new exception
Date: Sat, 05 Sep 2009 15:08:52 -0400 [thread overview]
Message-ID: <1252177626-sup-316@ntdws12.chass.utoronto.ca> (raw)
This attached exception log was generated after sending a reply,
before the inbox buffer was redisplayed.
I have the following small modifications to 99e62d55 included (still
required for importing to xapian in my case):
--snip--
- raise ArgumentError, "expecting a symbol" unless t.is_a? Symbol
+ t = t.intern if t.is_a? String
+
+ unless t.is_a? Symbol
+ m = "expecting a symbol, got a #{t.class} (#{t.to_s})"
+ raise ArgumentError, m
+ end
+
--snip--
Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302
GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu
Contact me to arrange for a CAcert assurance meeting.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: exception-log.txt
URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20090905/ef8749ed/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20090905/ef8749ed/attachment.bin>
next reply other threads:[~2009-09-05 19:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-05 19:08 Ben Walton [this message]
2009-09-05 19:30 ` Rich Lane
2009-09-05 19:35 ` Ben Walton
2009-09-05 19:55 ` Rich Lane
2009-09-05 21:57 ` Ben Walton
2009-09-06 17:02 ` Rich Lane
2009-09-06 17:22 ` Ben Walton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1252177626-sup-316@ntdws12.chass.utoronto.ca \
--to=bwalton@artsci.utoronto.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox