module Crygen::Modules::Property
Direct including types
Defined in:
modules/property.crInstance Method Summary
-
#add_property(visibility : Crygen::Enums::PropVisibility, name : String, type : String, scope : Crygen::Enums::PropScope = :public) : self
Adds a property into object (visibility, name, type and scope).
-
#add_property(visibility : Crygen::Enums::PropVisibility, name : String, type : String, value : String, scope : Crygen::Enums::PropScope = :public) : self
Adds a property into object (visibility, name, type, value and scope).
Instance Method Detail
def add_property(visibility : Crygen::Enums::PropVisibility, name : String, type : String, scope : Crygen::Enums::PropScope = :public) : self
#
Adds a property into object (visibility, name, type and scope). Parameters:
- visibility : Crygen::Enums::PropVisibility
- name : String
- type : String
- scope : Crygen::Enums::PropScope = :public Returns: an object class itself.
def add_property(visibility : Crygen::Enums::PropVisibility, name : String, type : String, value : String, scope : Crygen::Enums::PropScope = :public) : self
#
Adds a property into object (visibility, name, type, value and scope). Parameters:
- visibility : Crygen::Enums::PropVisibility
- name : String
- type : String
- value : String
- scope : Crygen::Enums::PropScope = :public Returns: an object class itself.