Open tansaku opened 5 years ago
inspecting the code I worked out how to do it from the console:
$ bundle exec rails c
1 > require 'aasm_statechart'
2 > klass = Space::Thing
3 > renderer = AasmStatechart::Renderer.new(klass)
4 > renderer.save('docs/pcl_contract', format: 'png')
I have some aasm enabled models that are namespaced e.g. Space::Thing - what would be the correct syntax to have these charted with this gem?