class Factory::Jennifer::Base

Included Modules

Defined in:

factory/jennifer/base.cr

Constant Summary

ARGUMENT_TYPE = [] of String
ASSIGNS = {} of String => String
ATTRIBUTES = {} of String => String
CLASS_NAME = [Factory::Jennifer::Base] of String
IGNORED_METHODS = [] of String
IS_FACTORY = ["true", "false"]
SEQUENCES = {} of String => String
TRAIT_CLASS_DECLARATIONS = [] of String
TRAITS = {} of String => String

Class Method Summary

Macro Summary

Class methods inherited from class Factory::Base

_after_initialize(obj) _after_initialize, assign_attr(obj, name, value) assign_attr, attributes attributes, build build, get_trait(name : String, go_deep)
get_trait(name : Symbol)
get_trait

Class Method Detail

def self._after_create(obj) #

[View source]
def self._before_create(obj) #

[View source]
def self.described_class #

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

def self.process_association(obj, klasses, assoc) #

[View source]

Macro Detail

macro after_create(&block) #

[View source]
macro after_finished_hook #

[View source]
macro before_create(&block) #

[View source]
macro factory_creators(factory_name) #

[View source]
macro skip_empty_constructor #

[View source]
macro skip_hash_constructor #

[View source]
macro trait(name) #

[View source]