abstract struct DotPrison::Consumer

Overview

A struct that provides access to a table

The #consume macro is used to specify the method name, type, as well as the key(s) from the table

A consumer is simply an access layer to the table, so data is not fully copied

Direct Known Subclasses

Defined in:

dot_prison/consumer.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

to_prison to_prison

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def initialize #

[View source]
abstract def table : DotPrison::Table #

[View source]