1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

NotImpelentedError typo fix

This commit is contained in:
Akzhan Abdulin 2011-11-08 17:44:32 +03:00
parent 121e2bb1cf
commit eea798e787

View file

@ -83,7 +83,7 @@ module Rack
def random_string(secure = defined? SecureRandom)
secure ? SecureRandom.hex(32) : "%032x" % rand(2**128-1)
rescue NotImpelentedError
rescue NotImplementedError
random_string false
end