Commit 5f6b74ee8438ee2b911a21d93d6f9b3e89f55474
Merge pull request #35 from mferrier/patch-1
doc fix to BCrypt::Engine.calibrateAaron Patterson committed on 10/21/2011, 3:33:02 PM
Parent: 46f928a1077e3edb563fa02255f080cb27367536
Parent: 6b1ac3e78203a35347b5b1dd5dd97f6f4e584d5f
Files changed
lib/bcrypt.rb | changed |
lib/bcrypt.rb | ||
---|---|---|
@@ -87,10 +87,10 @@ | ||
87 | 87 | # Returns the cost factor which will result in computation times less than +upper_time_limit_in_ms+. |
88 | 88 | # |
89 | 89 | # Example: |
90 | 90 | # |
91 | - # BCrypt.calibrate(200) #=> 10 | |
92 | - # BCrypt.calibrate(1000) #=> 12 | |
91 | + # BCrypt::Engine.calibrate(200) #=> 10 | |
92 | + # BCrypt::Engine.calibrate(1000) #=> 12 | |
93 | 93 | # |
94 | 94 | # # should take less than 200ms |
95 | 95 | # BCrypt::Password.create("woo", :cost => 10) |
96 | 96 | # |
Built with git-ssb-web