require 'zip/filesystem' require 'fileutils' module Powerpoint class Powerpoint::Meta def initialize extract_path, sllide_number xml = '' path = "#{extract_path}/ppt/presentation.xml" template = File.read path template.gsub!('', xml) File.open(path, 'w'){ |f| f << template } end end end