lib/surrounded/access_control.rb in surrounded-0.9.9 vs lib/surrounded/access_control.rb in surrounded-0.9.10

- old
+ new

@@ -1,5 +1,8 @@ module Surrounded + module Context + class AccessError < ::StandardError; end + end module AccessControl def self.extended(base) base.send(:include, AccessMethods) unless defined?(base::AccessError) base.const_set(:AccessError, Class.new(::Surrounded::Context::AccessError)) \ No newline at end of file