class Dude::Memory

Included Modules

Defined in:

dude/memory.cr

Constructors

Instance Method Summary

Instance methods inherited from module Dude::Store

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

Constructor Detail

def self.new(data : Hash(String, Dude::Memory::Entry) = Hash(String, Entry).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]