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