def write(dir)
      FileUtils.mkdir(dir) unless File.exists?(dir)
      each_item {|guide| write_guide(guide, dir) }
    end
def write(dir)
      FileUtils.mkdir(dir) unless File.exists?(dir)
      each_item {|guide| write_guide(guide, dir) }
    end
def write ( dir ) FileUtils . mkdir ( dir ) unless File . exists? ( dir ) each_item { | guide | write_guide ( guide , dir ) } end
Parses guides config file
 Writes all guides to given dir in JsonP format
Parses guides config file Writes all guides to given dir in JsonP format