You can use module_name.module_info[:attributes][:behaviour] for this.
module_name.module_info[:attributes][:behaviour]