module Glue::SequentialContainer(T)

Overview

Wrapper for an instantiated, sequential container type for data transmission.

Included Modules

Defined in:

ext/glue.cr

Instance Method Summary

Instance Method Detail

def <<(value : T) : self #

Adds an element at the end of the container.


[View source]
def concat(values : Enumerable(T)) : self #

Adds all elements at the end of the container, retaining their order.


[View source]
def inspect(io) #

[View source]
abstract def push(value : T) #

Adds an element at the end. Must be implemented by the wrapper.


[View source]
def to_s(io) #

[View source]