Module: Cfaker::Address
Instance Method Summary collapse
Instance Method Details
#address(length = 12) ⇒ Object
5 6 7 |
# File 'lib/cfaker/address.rb', line 5 def address(length=12) Array.new(length).map{C_BITS[rand(C_BITS_LENGTH)]}.join end |
5 6 7 |
# File 'lib/cfaker/address.rb', line 5 def address(length=12) Array.new(length).map{C_BITS[rand(C_BITS_LENGTH)]}.join end |