A
anansi
hi ,
I wondered if it is possible to tell ruby to accept wildcards in arrays
or lists. I have a function which relys on .each and accepts arrays and
lists of IP's. Is it possible to use wildcards in an array like
buff = Array(127.0.*.*)
of couse this is not working but is there any way to do this? Or is my
only option to fill the array "by hand" with a loop with every single IP?
--
greets
(
)
(
/\ .-"""-. /\
//\\/ ,,, \//\\
|/\| ,;;;;;, |/\|
//\\\;-"""-;///\\
// \/ . \/ \\
(| ,-_| \ | / |_-, |)
//`__\.-.-./__`\\
// /.-(() ())-.\ \\
(\ |) '---' (| /)
` (| |) `
jgs \) (/
one must still have chaos in oneself to be able to give birth to a
dancing star
I wondered if it is possible to tell ruby to accept wildcards in arrays
or lists. I have a function which relys on .each and accepts arrays and
lists of IP's. Is it possible to use wildcards in an array like
buff = Array(127.0.*.*)
of couse this is not working but is there any way to do this? Or is my
only option to fill the array "by hand" with a loop with every single IP?
--
greets
(
)
(
/\ .-"""-. /\
//\\/ ,,, \//\\
|/\| ,;;;;;, |/\|
//\\\;-"""-;///\\
// \/ . \/ \\
(| ,-_| \ | / |_-, |)
//`__\.-.-./__`\\
// /.-(() ())-.\ \\
(\ |) '---' (| /)
` (| |) `
jgs \) (/
one must still have chaos in oneself to be able to give birth to a
dancing star