Sha256: a989535e6c8303d910c5abe134a599fd73cabdb30b3ec4309e7d67ddaba47b7e
Contents?: true
Size: 612 Bytes
Versions: 1
Compression:
Stored size: 612 Bytes
Contents
module TaliaCore module DataTypes # Data class that contains just a link to a remote data element (and no # locally stored data at all). The uri for the link is stored in the location # field. # # *Note*: It is not possible to store data in media links, so all data-related # methods will raise an exception class MediaLink < DataRecord def all_bytes raise(RuntimeError, "Media Links have no data") end def get_byte(close_after_single_read=false) raise(RuntimeRror, "Media Links have no data") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
talia_core-0.7.0 | lib/talia_core/data_types/media_link.rb |