# File lib/cgikit/project/converter.rb, line 404 def write( path ) content = nil open(@path) do |f| content = f.read end content.gsub!('CKComponent', 'CGIKit::Component') content.gsub!('CKByteData', 'CGIKit::ByteData') content.gsub!('CKCookie', 'CGIKit::Cookie') content.gsub!('CKRequest', 'CGIKit::Request') content.gsub!('CKResponse', 'CGIKit::Response') content.gsub!('CKSession', 'CGIKit::Session') path = File.join(path, File.basename(@path)) open(path, 'w') do |f| f.write(content) end end