class Excursion::Datastores::Datastore

Public Instance Methods

all() click to toggle source
# File lib/excursion/datastores/datastore.rb, line 26
def all; end
all_apps() click to toggle source
# File lib/excursion/datastores/datastore.rb, line 12
def all_apps
  apps = []
  all.delete_if { |k| k.match(/^_.*/) }.values.each do |v|
    apps << application_class.from_cache(v)
  end
  apps
end
app(key) click to toggle source
# File lib/excursion/datastores/datastore.rb, line 8
def app(key)
  application_class.from_cache(read(key))
end
application_class() click to toggle source
# File lib/excursion/datastores/datastore.rb, line 4
def application_class
  Excursion::Pool::Application
end
delete(key) click to toggle source
# File lib/excursion/datastores/datastore.rb, line 24
def delete(key); end
Also aliased as: unset
get(key)
Alias for: read
read(key) click to toggle source
# File lib/excursion/datastores/datastore.rb, line 20
def read(key); end
Also aliased as: get
set(key, value)
Alias for: write
unset(key)
Alias for: delete
write(key, value) click to toggle source
# File lib/excursion/datastores/datastore.rb, line 22
def write(key, value); end
Also aliased as: set