Skip to content

Instantly share code, notes, and snippets.

@amixpal
Created July 2, 2015 05:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amixpal/ce590a7c60ee30ecf973 to your computer and use it in GitHub Desktop.
Save amixpal/ce590a7c60ee30ecf973 to your computer and use it in GitHub Desktop.
$("#matrix_data").html(" <table class = 'table table-hover'> <% JSON.parse(@simulation.matrix).each do |tuple| %> <tr> <% tuple.each do |value| %> <td><%= value %></td><% end %> </tr><% end %> </table>");
$("#matrix_verdict").html("<%= @simulation.verdict %>")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment