lib/adhearsion/foundation/future_resource.rb in adhearsion-0.8.4 vs lib/adhearsion/foundation/future_resource.rb in adhearsion-0.8.5
- old
+ new
@@ -25,10 +25,10 @@
@resource_value_blocker.broadcast
@resource_value_blocker = nil # Don't really need it anymore.
end
end
- class ResourceAlreadySetException < Exception
+ class ResourceAlreadySetException < StandardError
def initialize
super "Cannot set this resource twice!"
end
end