Forum: Ruby Several units of the System, Help!

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Darkskull D. (Guest)
on 2008-12-11 19:19
Hi, I have a little doubt with a code that I'm doing, and that is what I
need is to open a file with "File", with the exact route, but saying
that I look at all the units of the system, or the 'A' to 'Z'. How could
I do?, Here you get the code.

require 'ftools'
if !ARGV[0] or !ARGV[1]
  puts "Example use => \"./phar\""
end'C:/Windows/System32/drivers/etc/hosts' , 'a+')
host.print("#{ip}\s\s\s\s", "#{dns}\n")

This is: " ...===> C: <===/Windows/System32/... "
This topic is locked and can not be replied to.