Sha256: 406151722f4c44f2a8efe9c8faeb35b82e41326d4a57e5d3e25d537fc23e269b
Contents?: true
Size: 491 Bytes
Versions: 6
Compression:
Stored size: 491 Bytes
Contents
# Interface of subclasses should implement # # run # switch_version(mod.sha) # sha # class TerraspaceBundler::Mod::Fetcher class Base include TB::Util::Git include TB::Util::Logging include TB::Mod::Concerns::PathConcern attr_reader :sha # returns nil for Local def initialize(mod) @mod = mod end def switch_version(*) # noop end def extract(archive, dest) TerraspaceBundler::Extract.extract(archive, dest) end end end
Version data entries
6 entries across 6 versions & 1 rubygems