docs/server.rb in preval-0.2.0 vs docs/server.rb in preval-0.3.0
- old
+ new
@@ -2,9 +2,13 @@
require 'bundler/setup'
require 'preval'
require 'sinatra'
+Preval::Visitors::Arithmetic.enable!
+Preval::Visitors::Loops.enable!
+Preval::Visitors::Micro.enable!
+
get '/' do
send_file(File.expand_path('index.html', __dir__))
end
post '/' do