module Rolypoly::RoleDSL::ClassMethods
Public Instance Methods
inherited(subclass)
click to toggle source
Calls superclass method
# File lib/rolypoly/role_dsl.rb, line 44 def inherited(subclass) super subclass.instance_variable_set('@rolypoly_gatekeepers', rolypoly_gatekeepers.dup) end
rolypoly_gatekeepers()
click to toggle source
# File lib/rolypoly/role_dsl.rb, line 51 def rolypoly_gatekeepers @rolypoly_gatekeepers ||= Rolypoly::RoleGatekeepers.new end