Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
module
Hathor::NestedCollectionMacro
Macros
nested_collection
(collection_name, **options, &block)
collection macro
it populates the PROPERTIES hash
creates property name : Array(type | Nil) - Nil only if nilable
Source
nested_collection!
(name, **options, &block)
shortcut for "nilable: false" option
Source