-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
Description
The current version of staruml-ruby (0.1.4) supports these class attribute rules:
- If an attribute is set to no readonly and no static, an instance variable is generated and uses
attr_accessor :attribute_name
. - If an attribute is set to readonly and no static, an instance variable is generated and uses
attr_reader :attribute_name
. - If an attribute is set to no readonly and static, a constant is generated.
In the future release, there are some modification for those rules:
- A constant is generated if the attribute is set to readonly and static.
- A class variable,
@@attribute_name
, is generated if the attribute is set to no readonly and static