On Sun, Mar 13, 2011 at 12:04 AM, Naresh V wrote:
> $uiso_scanners = {
> "uiso-scanner.example.com" => "192.168.151.21",
> "uiso-scanner1.example.com" => "192.168.18.37",
> }
This works and I like it better. Thanks a lot.
--
You received this message because you are subscribed t
On 13 March 2011 05:00, Mohamed Lrhazi wrote:
> I have a var defined like this:
>
> $uiso_scanners = [
> ["uiso-scanner.example.com","192.168.151.21"],
> ["uiso-scanner1.example.com","192.168.18.37"],
> ]
>
> and then in a template I have:
>
> <% if uiso_scanners -%>
> # Allow communicati
I have a var defined like this:
$uiso_scanners = [
["uiso-scanner.example.com","192.168.151.21"],
["uiso-scanner1.example.com","192.168.18.37"],
]
and then in a template I have:
<% if uiso_scanners -%>
# Allow communication with UISO scanners
<% uiso_scanners.each do |uiso_scanner| -