def snippet_path(path = nil)
      if snippet_json["main"].nil?
        real_path path
      else
        real_path ::File.join(snippet_json["main"], path)
      end
    end
def snippet_path(path = nil)
      if snippet_json["main"].nil?
        real_path path
      else
        real_path ::File.join(snippet_json["main"], path)
      end
    end
path from snippet_json["main"]