cruml v0.3.0
cruml
[!WARNING] This library is under development, it is not completely finished.
cruml (Crystal UML) is a library that allows to generate a UML diagram. This is useful for any Crystal projects.
A class diagram that represents the parent class, linked with inherited classes.
Installation
- Add the dependency to your
shard.yml
:
dependencies:
cruml:
github: tamdaz/cruml
- Run
shards install
Usage
require "cruml"
module Project
# ...
end
# Your project module (e.g: Project)
::CRUML_FILTER_PREFIX = "Project"
# Directory where the diagram will be saved.
::CRUML_OUT_DIR = "./out/"
Cruml.run
Cruml uses macros to retrieve the names of classes and the names and types of instance variables and methods.
Contributing
- Fork it (https://github.com/tamdaz/cruml/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- tamdaz - creator and maintainer
Repository
cruml
Owner
Statistic
- 3
- 0
- 1
- 0
- 1
- 4 days ago
- December 14, 2024
License
MIT License
Links
Synced at
Wed, 01 Jan 2025 21:35:03 GMT
Languages