Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: tyberius_prime@coonabibba.de (Tyberius Prime)
Subject: [sup-talk] Hook reloading
Date: Thu, 08 May 2008 11:50:05 +0200	[thread overview]
Message-ID: <1210240114-sup-7457@h984274.serverkompetenz.net> (raw)
In-Reply-To: <1210152344-sup-9178@h984274.serverkompetenz.net>

Excerpts from Tyberius Prime's message of Wed May 07 11:25:59 +0200 2008:

> and now I'm occacionaly greeted with
> "[snip/.sup/hooks/open-thread.rb:21: warning: method redefined; discarding old
> linkHTML".
> I guess that happens every time sup reloads the hook in question.
> 
> How can I get rid of the message?

The answer is of course to wrap the function in an
if !defined? functionName
end
block.

> And can I force sup to reload its hooks (while developing)?


--
So long,
Tyberius Prime


  reply	other threads:[~2008-05-08  9:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-07  9:25 Tyberius Prime
2008-05-08  9:50 ` Tyberius Prime [this message]
2008-05-09  6:10 ` William Morgan

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=1210240114-sup-7457@h984274.serverkompetenz.net \
    --to=tyberius_prime@coonabibba.de \
    /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