class Factory::Base

Included Modules

Direct Known Subclasses

Defined in:

factory/base.cr

Constant Summary

IS_FACTORY = ["false"]

Class Method Summary

Macro Summary

Class Method Detail

def self._after_initialize(obj) #

[View source]
def self.assign_attr(obj, name, value) #

[View source]
def self.attributes #

[View source]
def self.build #

[View source]
def self.get_trait(name : String, go_deep) #

[View source]
def self.get_trait(name : Symbol) #

[View source]

Macro Detail

macro after_finished_hook #

[View source]
macro after_initialize(&block) #

[View source]
macro argument_type(type) #

[View source]
macro describe_class(klass) #

[View source]
macro factory_builders(factory_name) #

[View source]
macro initialize_with(&block) #

[View source]
macro not_a_factory #

[View source]
macro skip_all_constructors #

[View source]
macro trait(name) #

traits could be defined only for some class


[View source]