Reformatted excerpts from William Morgan's message of 2008-02-19:
> Reformatted excerpts from Daniel Wagner's message of 2008-02-18:
> > system "xmessage -default okay In the hook."
> > system "see #{content_type}:#{filename}"
> > return true
>
> This looks fine, though I would change the last line to just
> $?.success?
Never mind that. Remove the last (and first!) line completely.
Kernel#system returns true iff the command is successful.
--
William <[EMAIL PROTECTED]>
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk