lib/authz/models/rolable.rb
# Developers can use this to specify which method form the includer
# should be used inside authz to label each instance
Developers can use this to specify which method form the includer
should be used inside authz to label each instance
Developers can use this to specify which method form the includer should be used inside authz to label each instance
def authz_label_method method_name
          define_method 'authz_label' do
            self.send(method_name)
          end
        end
def authz_label_method method_name define_method 'authz_label' do self . send ( method_name ) end end
Developers can use this to specify which method form the includer
should be used inside authz to label each instance
Developers can use this to specify which method form the includer should be used inside authz to label each instance
method_name