[exerb-eng:21] (̵Âê)

Back to archive index

Nathaniel Talbott natha****@talbo*****
Sat Sep 13 03:46:23 JST 2003


Ronald Pijnacker <rhp****@dse*****> wrote:
> 
> Thanks for the reply. However, I do not seem to be able to locate the
> filepath method. What do I need to load/require for this?

Nothing... it's automatically loaded for you when running under Exerb.


> Is there also some way to do the same without making my script depend on
> Exerb? As I said, I would consider this to be a bug...

Just check to see if the top-level constant Exerb is defined, like so:

  dir = File.dirname(defined?(Exerb) ? Exerb.filepath : $0)

Also, to subscribe to the Exerb list
(http://lists.sourceforge.jp/mailman/listinfo/exerb-english/) just fill in
the information like you're looking at an English version of the page
(http://lists.sourceforge.net/lists/listinfo/fxruby-announce). I just did
that and managed to subscribe without any great difficulty.

HTH,


Nathaniel

<:((><




More information about the exerb-english mailing list
Back to archive index