-
Notifications
You must be signed in to change notification settings - Fork 1
Configuration
Andrias Meisyal edited this page Apr 29, 2017
·
3 revisions
You can configure the extension before generating the code. This is supported by this extension to generate the code, as you prefer.
The latest version of this extension handles configuration below:
-
Use Tab
Use tab for indentation instead of spaces. The default value is OFF.
-
Indent Spaces
Number of spaces for indentation. The default value is 2.
-
The initialized method
Generate initialize method (
def initialize
). The default value is ON. -
The to_s method
Generate
to_s
method that returns a string representation of the object. The default value is ON. -
Documentation
Generate documentation of class elements. The default value is ON.
Please, follow these steps below:
- Click Tools -> Ruby -> Configure... on menu bar of StarUML. Preference window will appear.
- Manage the configuration for code generation. There are some preferences as explained above. You can always restore default configurations by pressing Restore Default Settings button.
- Press Close button when you have configured.