Commit 6b1ac3e78203a35347b5b1dd5dd97f6f4e584d5f
doc fix to BCrypt::Engine.calibrate
Mike Ferrier committed on 10/20/2011, 10:23:23 PMParent: 46f928a1077e3edb563fa02255f080cb27367536
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