Class: Trahald::BackendBase
- Inherits:
-
Object
- Object
- Trahald::BackendBase
- Defined in:
- lib/trahald/backend-base.rb
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
- #add!(name, body) ⇒ Object
- #article(name) ⇒ Object
- #body(name) ⇒ Object
- #commit!(message) ⇒ Object
- #data ⇒ Object
-
#initialize ⇒ BackendBase
constructor
A new instance of BackendBase.
- #last_modified ⇒ Object
- #list ⇒ Object
Constructor Details
#initialize ⇒ BackendBase
Returns a new instance of BackendBase.
6 7 |
# File 'lib/trahald/backend-base.rb', line 6 def initialize end |
Class Method Details
.init_repo_if_needed(dir) ⇒ Object
37 38 39 |
# File 'lib/trahald/backend-base.rb', line 37 def self.init_repo_if_needed(dir) raise "Called abstract method: self.init_repo_if_needed" end |
Instance Method Details
#add!(name, body) ⇒ Object
9 10 11 |
# File 'lib/trahald/backend-base.rb', line 9 def add!(name, body) raise "Called abstract method: add!" end |
#article(name) ⇒ Object
13 14 15 |
# File 'lib/trahald/backend-base.rb', line 13 def article(name) raise "Called abstract method: article" end |
#body(name) ⇒ Object
17 18 19 |
# File 'lib/trahald/backend-base.rb', line 17 def body(name) raise "Called abstract method: body" end |
#commit!(message) ⇒ Object
21 22 23 |
# File 'lib/trahald/backend-base.rb', line 21 def commit!() raise "Called abstract method: commit!" end |
#data ⇒ Object
33 34 35 |
# File 'lib/trahald/backend-base.rb', line 33 def data raise "Called abstract method: data" end |
#last_modified ⇒ Object
25 26 27 |
# File 'lib/trahald/backend-base.rb', line 25 def last_modified raise "Called abstract method: last_modified" end |
#list ⇒ Object
29 30 31 |
# File 'lib/trahald/backend-base.rb', line 29 def list raise "Called abstract method: list" end |