struct DotPrison::IndexedTable(T)
Overview
A consumer for Table
s that are indexed from 0
Starting at "[i 0]" and going up to (size-1) "[i size-1]"
Defined in:
dot_prison/indexed_table.crConstructors
-
.new(table : DotPrison::Table)
A consumer for
Table
s that are indexed from 0
Instance Method Summary
- #[](i : Int32) : T
- #[]?(i : Int32) : T | Nil
- #each(&)
- #size : Int32
- #size=(v : Int)
-
#table : DotPrison::Table
A consumer for
Table
s that are indexed from 0 -
#unconsumed
Keys for the associated table that have not been consumed
Instance methods inherited from struct DotPrison::Consumer
initialize
initialize,
table : DotPrison::Table
table
Constructor methods inherited from struct DotPrison::Consumer
new
new
Instance methods inherited from class Object
to_prison
to_prison
Constructor Detail
def self.new(table : DotPrison::Table)
#
A consumer for Table
s that are indexed from 0
Starting at "[i 0]" and going up to (size-1) "[i size-1]"
Instance Method Detail
def table : DotPrison::Table
#
A consumer for Table
s that are indexed from 0
Starting at "[i 0]" and going up to (size-1) "[i size-1]"
def unconsumed
#
Keys for the associated table that have not been consumed
This may be because they have not been implemented yet, they may have an unknown purpose, or could be part of an unsupported mod