[erlang-questions] Is there a way to test on a module's behaviors?
Fri May 11 01:53:01 CEST 2012
On Thu, May 10, 2012 at 4:25 PM, Francesco Mazzoli
> You can use `module_info/0', amongst the other things it'll return a list
> of module attributes, including the behaviors.
> On 11/05/12 00:15, Andrew Berman wrote:
>> I was wondering if there is a way to test on behaviors of a module.
>> Essentially what I'm looking to do is say, if this module has x
>> behavior, do this. I couldn't find any way to get at the module's
>> behaviors, did I miss something or is this something that cannot be done?
>> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions