lib/surrounded/context/role_map.rb in surrounded-0.9.9 vs lib/surrounded/context/role_map.rb in surrounded-0.9.10
- old
+ new
@@ -1,8 +1,10 @@
require 'triad'
require 'surrounded/context_errors'
module Surrounded
module Context
+ class InvalidRole < ::Triad::ItemNotPresent; end
+
class RoleMap
class << self
def from_base(klass=::Triad)
role_mapper = Class.new(::Surrounded::Context::RoleMap)
\ No newline at end of file