lib/mapstraction_plugin/mapping.rb
#declare with a random variable name

declare with a random variable name
declare with a random variable name
def declare_random(init,size = 8)
        s = init.clone
        6.times { s << (i = Kernel.rand(62); i += ((i < 10) ? 48 : ((i < 36) ? 55 : 61 ))).chr }
        declare(s)
      end
def declare_random ( init , size = 8 ) s = init . clone 6 . times { s << ( i = Kernel . rand ( 62 ) ; i += ( ( i < 10 ) ? 48 : ( ( i < 36 ) ? 55 : 61 ) ) ) . chr } declare ( s ) end
declare with a random variable name
declare with a random variable name
init
<not_specific>
size
<not_specific>