<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -96,10 +96,18 @@ module Wee
         answer.answer_callback = cc
         session.send_response(nil)
       }
-
       remove_decoration(delegate)
       component.remove_decoration(answer)
-      return *answ.args
+
+      args = answ.args
+      case args.size
+      when 0
+        return
+      when 1
+        return args.first
+      else
+        return *args
+      end
     end
 
     #</diff>
      <filename>lib/wee/call_answer.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>60627aee7a6613ad178e2e8a3e65c5b0b07f9dca</id>
    </parent>
  </parents>
  <author>
    <name>Michael Neumann</name>
    <email>mneumann@mischa.(none)</email>
  </author>
  <url>http://github.com/mneumann/wee/commit/717d2476ae0672f096ed5e93276d6615d4ecd424</url>
  <id>717d2476ae0672f096ed5e93276d6615d4ecd424</id>
  <committed-date>2009-10-26T11:09:21-07:00</committed-date>
  <authored-date>2009-10-26T11:09:21-07:00</authored-date>
  <message>Fix bug: Make #answer behave like &quot;return&quot;

Before this fix, &quot;answer 1&quot; would return [1]. After the fix 1 is
returned, as expected. It now behaves like a regular &quot;return&quot;.</message>
  <tree>a93d9daf93f2f9e00c6008ee80788575695baa3d</tree>
  <committer>
    <name>Michael Neumann</name>
    <email>mneumann@mischa.(none)</email>
  </committer>
</commit>
