Sha256: d1e6d9b7bf4080473953f372880bc5603033f176dc1ca7e0e62f937dede008df
Contents?: true
Size: 306 Bytes
Versions: 1
Compression:
Stored size: 306 Bytes
Contents
module Gbdev module Utils module PrivateMethods def build_random_file_name # :nodoc: letters_array = [('a'..'z'),('A'..'Z')].collect{|i| i.to_a}.flatten (1..10).collect{ letters_array[ rand(letters_array.length) ] }.join << '.pdf' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gbdev-pdf_filler-0.1.2 | lib/pdf_filler/util_methods.rb |