raise 'blah requires the installation of the Shards extension' unless 
defined?(ShardsExtension) 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Chris Parrish
> Sent: Monday, 29 October 2007 4:03 PM
> To: [email protected]
> Subject: [Radiant] Checking for other extensions and gems
> 
> I'm writing an extension that depends on shards.  I'd like to 
> check for 
> it and raise a useful error message when my extension is initialized.
> 
> Any suggestions as to the best way to do that?
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to