Permalink
Browse files

Edited lib/faker/internet.rb via GitHub

  • Loading branch information...
1 parent 96d3b3b commit 7f8693cce73fbc27b9ad275fe8545b50e2e5b39e @mlightner committed Aug 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/faker/internet.rb
View
@@ -11,7 +11,7 @@ def ipv4
def password(size = 10)
chars = ("a".."z").to_a + ("A".."Z").to_a + ("0".."9").to_a
- (1..len.to_i).to_a.inject("") { |pass,i| pass << chars[rand(chars.size-1)] }
+ (1..size.to_i).to_a.inject("") { |pass,i| pass << chars[rand(chars.size-1)] }
end
def email(name = nil)

0 comments on commit 7f8693c

Please sign in to comment.