This is an example of ruby calling rust code via ruru
to run this example please run:
bundle install
then run
cargo build --release
then run
ruby calculator.rb
This is a very simple example. I just wanted to provide a structure to show how it works.