I wrote a webform using Sinatra and Haml that will be used to call a Ruby script.
Everything seems fine except for one thing: I need to pass an argument to a Haml view f
Given
haml(template, options = {}, locals = {})
I'd try
haml :success, {}, {my_var: my_value}