class ContentAddressableFile
Attributes
id[RW]
Public Class Methods
new(id)
click to toggle source
Creates a new content-addressable file wrapper that uses the given id as content hash, assuming that it is a content addressable multihash
@param [String] id the multihash that is the content-addressable
# File lib/content_addressable_file.rb, line 17 def initialize(id) self.id = id end