class Dude::Memory

Included Modules

Defined in:

dude/memory.cr

Constructors

Instance Method Summary

Instance methods inherited from class Dude::Store

delete(key : Symbol | String) delete, get(key : Symbol | String) get, set(key : Symbol | String, value, expire) set, transaction(& : Transaction -> _) transaction, truncate truncate

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def data : Hash(String, Dude::Memory::Entry) #

[View source]
def delete(key : Symbol | String) #

[View source]
def get(key : Symbol | String) : String | Nil #

[View source]
def set(key : Symbol | String, value, expire) #

[View source]
def transaction(& : Transaction -> _) #

[View source]
def truncate #

[View source]