[Radiant] Checking for other extensions and gems
Aitor Garay-Romero
me at aitor.name
Tue Oct 30 04:28:48 CDT 2007
And be sure that your extension loads after shards....
/AITOR
On 10/29/07, Sean Cribbs <seancribbs at gmail.com> wrote:
>
> Check for the existence of the Shards module:
>
> raise "The Shards extension is required and must be loaded first!"
> unless defined?(Shards)
>
> Sean
>
> Chris Parrish wrote:
> > 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?
> >
> > -Chris
> >
> > _______________________________________________
> > Radiant mailing list
> > Post: Radiant at lists.radiantcms.org
> > Search: http://radiantcms.org/mailing-list/search/
> > Site: http://lists.radiantcms.org/mailman/listinfo/radiant
> >
> >
>
> _______________________________________________
> Radiant mailing list
> Post: Radiant at lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>
More information about the Radiant
mailing list