# File lib/kreadwriteconfig.rb, line 35 def initialize(file,relative=false) if relative?(file) unless relative cpath = %x{kde4-config --path config}.split(":")[0] file = File.expand_path(file,cpath) else file = File.expand_path(file) end end if not File.file?(file) raise "#{file} is not a file." end @rfile = file @file = "--file #{file} " end