module Crygen::Modules::Property

Direct including types

Defined in:

modules/property.cr

Instance Method Summary

Instance Method Detail

def add_property(visibility : Crygen::Enums::PropVisibility, name : String, type : String, *, value : String | Nil = nil, scope : Crygen::Enums::PropScope = :public, comment : String | Nil = nil) : self #

Adds a property into object (visibility, name, type, value and scope).


[View source]