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