Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Can't convert Fixnum into String error fix in lilu_perf_spec.rb

  • Loading branch information...
commit bbbb6c113fde2ec9bcda47dc9dfa40ed9a10fe48 1 parent b7de4d3
Eugene Zolotarev EugZol authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 benchmarks/lilu_perf_spec.rb
6 benchmarks/lilu_perf_spec.rb
View
@@ -101,7 +101,7 @@
result = RubyProf.stop
printer = RubyProf::GraphHtmlPrinter.new(result)
f = File.new('populate_result.html','w')
- printer.print(f, 1)
+ printer.print(f, '1')
f.close
}
end
@@ -181,10 +181,10 @@
result = RubyProf.stop
printer = RubyProf::GraphHtmlPrinter.new(result)
f = File.new('update_result.html','w')
- printer.print(f, 1)
+ printer.print(f, '1')
f.close
}
end
end
-end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.