RubyUmlClass creates a Ruby class diagram.
PlantUML and rufo commands are used to create class diagrams.
The created class diagram is displayed on the browser screen.
for ubuntu
$ sudo apt install plantuml
for windoes
install java and PlanUML
Set java and plantuml.jar in [PlantUML Command]
PlantUML of vscode extension function is also possible
Set [RubyUmlClass=>Setting=>PlantUML Command] as follows
"java -jar C:/Users/%USERNAME%/.vscode/extensions/jebbs.plantuml-2.17.5/plantuml.jar -svg --charset UTF-8"
Install the gem and add to the application's Gemfile by executing:
$ bundle add ruby_uml_class
If bundler is not being used to manage dependencies, install the gem by executing:
$ gem install ruby_uml_class
$ start_ruby_uml_class.rb
RubyUmlClass.mp4
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and the created tag, and push the .gem
file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/kuwayama1971/RubyUmlClass.
The gem is available as open source under the terms of the MIT License.