Class: BundleDepot::Store

Inherits:
Object
  • Object
show all
Defined in:
lib/bundle_depot/cache.rb

Direct Known Subclasses

FileSystemStore, SCPStore

Instance Method Summary collapse

Instance Method Details

#cached?(file) ⇒ Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


15
16
17
# File 'lib/bundle_depot/cache.rb', line 15

def cached?(file)
  raise NotImplementedError
end

#fetch(file, dest_dir) ⇒ Object

Raises:

  • (NotImplementedError)


23
24
25
# File 'lib/bundle_depot/cache.rb', line 23

def fetch(file, dest_dir)
  raise NotImplementedError
end

#store(file) ⇒ Object

Raises:

  • (NotImplementedError)


19
20
21
# File 'lib/bundle_depot/cache.rb', line 19

def store(file)
  raise NotImplementedError
end

#with_packingObject



27
28
29
# File 'lib/bundle_depot/cache.rb', line 27

def with_packing
  PackingDecorator.new(self)
end