Class: Marko::Storage
- Inherits:
-
Object
- Object
- Marko::Storage
- Extended by:
- Pluggable
- Defined in:
- lib/marko/storage.rb
Overview
The base class that represents sources repository
Direct Known Subclasses
Instance Method Summary collapse
-
#artifact ⇒ Artifact
Artifact settings.
-
#content(source) ⇒ String
Content of :source.
-
#punch(repository) ⇒ Object
create a new repository.
- #sources ⇒ Object
Methods included from Pluggable
Instance Method Details
#artifact ⇒ Artifact
Returns artifact settings.
30 31 32 |
# File 'lib/marko/storage.rb', line 30 def artifact fail "the abstract method must be overriden" end |
#content(source) ⇒ String
Returns content of :source.
25 26 27 |
# File 'lib/marko/storage.rb', line 25 def content(source) fail "the abstract method must be overriden" end |
#punch(repository) ⇒ Object
create a new repository
14 15 16 |
# File 'lib/marko/storage.rb', line 14 def punch(repository) fail "the abstract method must be overriden" end |
#sources ⇒ Object
19 20 21 |
# File 'lib/marko/storage.rb', line 19 def sources fail "the abstract method must be overriden" end |