module Boleite::GUI::GridLayout::Contracts

Defined in:

boleite/gui/grid_layout.cr

Constant Summary

CLASS_DATA = ClassData(Boleite::GUI::GridLayout).new
CONTRACTED_METHODS = ["padding()", "padding=(padding)", "initialize(cells : Vector2i)", "max_children()", "on_state_change()", "arrange_child_widgets()"] of _
CONTRACTS = {} of _ => _
IGNORED_METHODS = ["finalize"] of _
INVARIANTS = [{"@children.size <= max_children", do @children.size <= max_children end}] of _

Class Method Summary

Macro Summary

Class Method Detail

def self.on_assert_fail(condition, type) #

[View source]
def self.on_contract_fail(contract, condition, type, method) #

[View source]

Macro Detail

macro add_contract(stage, str, &test) #

[View source]
macro add_invariant(str, &test) #

[View source]
macro ignore_method(method) #

[View source]