# File lib/blueprint/core_ext.rb, line 28
  def self.string_to_file(string, path)
    FileUtils.mkdir_p path unless File.directory?(File.dirname(path))
    File.open(path, 'w') { |f| f << string }
  end