lib/surrounded/context/role_builders.rb in surrounded-1.0.0 vs lib/surrounded/context/role_builders.rb in surrounded-1.1.0
- old
+ new
@@ -1,9 +1,10 @@
module Surrounded
module Context
class InvalidRoleType < ::StandardError; end
module RoleBuilders
+ extend Seclusion
def self.extended(base)
Surrounded::Exceptions.define(base, exceptions: :InvalidRoleType)
end