Sha256: 77f8ba3c33c82e85b45c4315dd5079b29f6c4fab28849dfeebcca4f60e5a1477
Contents?: true
Size: 865 Bytes
Versions: 2
Compression:
Stored size: 865 Bytes
Contents
# frozen_string_literal: true require_relative "gadgets" require_relative "artifact" module Marko # The base class that represents sources repository class Storage extend Pluggable # create a new repository # @param repository [String] the name for the repository def punch(repository) fail "the abstract method must be overriden" end # @retrun [Array<String>] array of sources inside the repository def sources fail "the abstract method must be overriden" end # @param source [Striing] source to retrieve content # @return [String] content of :source def content(source) fail "the abstract method must be overriden" end # @return [Artifact] artifact settings def artifact fail "the abstract method must be overriden" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
marko-0.3.0 | lib/marko/storage.rb |
marko-0.1.0 | lib/marko/storage.rb |