Lots of warnings triggered when used with ruby 3.1.2
Steps to reproduce the problem
With ruby 3.1.2
bundle exec rspec
Actual behaviour
Error:
lib/finite_machine/observer.rb:22:in block in cleanup_callback_queue': undefined local variable or methodcallback_queue' for FiniteMachine::Observer:Class (NameError)
Describe the problem
Lots of warnings triggered when used with ruby 3.1.2
Steps to reproduce the problem
With ruby 3.1.2
Actual behaviour
Error:
Expected behaviour
Specs pass without warnings
Describe your environment
master