module SharedProperty

Defined in:

shared_property.cr

Constant Summary

VERSION = "0.1.0"

Macro Summary

Instance Method Summary

Macro Detail

macro shared_property(var, klass, content) #

Defines shared property methods for each of the given arguments. This is a simpler version of the property macro, and requires explicit statements for:

  • The name of the instance variable
  • The type to be held in the instance variable
  • The initial value

[View source]

Instance Method Detail

def references(src) #

Sync all shared_propertys from src


[View source]