class SC::Builder::JSON

This build is used to process a single JSON file. It will substitute static_url and the like as needed.

Public Instance Methods

build(dst_path) click to toggle source
# File lib/sproutcore/builders/json.rb, line 17
def build(dst_path)
  lines = read(entry[:source_path])
  replace_static_url(lines)
  writelines dst_path, lines
end