lib/surrounded/context/role_map.rb in surrounded-0.8.4 vs lib/surrounded/context/role_map.rb in surrounded-0.9.0

- old
+ new

@@ -7,10 +7,10 @@ keys.include?(role) end def role_player?(object) !values(object).empty? - rescue ::Triad::ValueNotPresent + rescue ::Triad::ItemNotPresent false end def assigned_player(role) values(role).first \ No newline at end of file