Awesome, thanks!<br><br><div class="gmail_quote">On Thu, May 10, 2012 at 4:25 PM, Francesco Mazzoli <span dir="ltr"><<a href="mailto:francesco@rabbitmq.com" target="_blank">francesco@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You can use `module_info/0', amongst the other things it'll return a list of module attributes, including the behaviors.<br>
<br>
Francesco.<div><div class="h5"><br>
<br>
On 11/05/12 00:15, Andrew Berman wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
I was wondering if there is a way to test on behaviors of a module.<br>
Essentially what I'm looking to do is say, if this module has x<br>
behavior, do this. I couldn't find any way to get at the module's<br>
behaviors, did I miss something or is this something that cannot be done?<br>
<br>
Thanks!<br>
<br>
Andrew<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<u></u>listinfo/erlang-questions</a><br>
</blockquote>
<br>
</blockquote></div><br>