Exception: FutureResource::ResourceAlreadySetException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/future-resource.rb

Overview

Raised when the program tries to set a value for the resource that is already set.

Instance Method Summary collapse

Constructor Details

#initializeResourceAlreadySetException

Returns a new instance of ResourceAlreadySetException.



105
106
107
# File 'lib/future-resource.rb', line 105

def initialize
  super "Cannot set this resource twice!"
end