Sha256: b04fa0fec5ae9efafe3e52afeb55029dc5816907695749403ae2b09962211a9c

Contents?: true

Size: 276 Bytes

Versions: 53

Compression:

Stored size: 276 Bytes

Contents

require 'uuidtools'

module UUIDException
    
    def uuid=(val)
        @uuid = val
    end
    
    def uuid
        @uuid
    end
    
end

module UUIDExceptionMessage
    def message
        "#{@uuid} - #{super}"
    end
end

class Exception
    include UUIDException
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
spiderfw-0.6.1 lib/spiderfw/utils/monkey/exception.rb
spiderfw-0.6.0 lib/spiderfw/utils/monkey/exception.rb
spiderfw-0.5.19 lib/spiderfw/utils/monkey/exception.rb
spiderfw-0.5.18 lib/spiderfw/utils/monkey/exception.rb
spiderfw-0.5.17 lib/spiderfw/utils/monkey/exception.rb
spiderfw-0.5.16 lib/spiderfw/utils/monkey/exception.rb
spiderfw-0.5.15 lib/spiderfw/utils/monkey/exception.rb
spiderfw-0.5.14 lib/spiderfw/utils/monkey/exception.rb
spiderfw-0.5.13 lib/spiderfw/utils/monkey/exception.rb
spiderfw-0.5.12 lib/spiderfw/utils/monkey/exception.rb
spiderfw-0.5.11 lib/spiderfw/utils/monkey/exception.rb
spiderfw-0.5.10 lib/spiderfw/utils/monkey/exception.rb
spiderfw-0.5.9 lib/spiderfw/utils/monkey/exception.rb