Sha256: 2da0eb8f4fd03ee15e510ff46d795149331a9bd4df4f02bad88c536a48459e87
Contents?: true
Size: 290 Bytes
Versions: 45
Compression:
Stored size: 290 Bytes
Contents
module RoleAuthorization module Rules module ClassMethods def define(rule_name, &block) RoleAuthorization::Mapper.send(:define_method, rule_name) do |*args| add_to_rules(rule_name, *args, &block) end end end extend ClassMethods end end
Version data entries
45 entries across 45 versions & 1 rubygems