Class: Currently::Backingstore

Inherits:
Object
  • Object
show all
Defined in:
lib/currently/backingstore.rb

Direct Known Subclasses

Catchstore, Filestore

Instance Method Summary collapse

Instance Method Details

#allObject

retrieves all entries (or as many as can be found)



9
10
11
# File 'lib/currently/backingstore.rb', line 9

def all
  raise "not implemented!"
end

#last(n = 1, context = nil) ⇒ Object

retrieves last n entries



4
5
6
# File 'lib/currently/backingstore.rb', line 4

def last(n = 1, context = nil)
  raise "not implemented!"
end

#save(entry) ⇒ Object

saves the provided entry



14
15
16
# File 'lib/currently/backingstore.rb', line 14

def save(entry)
  raise "not implemented!"
end