class Crystalline::Containers::Stack(T)

Included Modules

Defined in:

containers/stack.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ary : Array(T)) #

[View source]
def self.new #

[View source]

Instance Method Detail

def <<(obj) #

[View source]
def each(&) #
Description copied from module Enumerable(T)

Must yield this collection's elements to the block.


[View source]
def empty?(*args, **options) #

[View source]
def empty?(*args, **options, &) #

[View source]
def next #

[View source]
def next? #

[View source]
def pop #

[View source]
def pop? #

[View source]
def push(obj) #

[View source]
def size(*args, **options) #

[View source]
def size(*args, **options, &) #

[View source]