Sha256: e7b2aff9b935756860b698d73ab6ec9b2262ffa4d1a32e4ff9791ba6afa4ceff
Contents?: true
Size: 264 Bytes
Versions: 22
Compression:
Stored size: 264 Bytes
Contents
class DataParser def self.parse(url) error_ptr = Pointer.new(:object) data = NSData.alloc.initWithContentsOfURL(NSURL.URLWithString(url), options:NSDataReadingUncached, error:error_ptr) unless data raise error_ptr[0] end data end end
Version data entries
22 entries across 21 versions & 2 rubygems