summaryrefslogtreecommitdiff
path: root/lib/ffi_yajl/benchmark/http.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ffi_yajl/benchmark/http.rb')
-rw-r--r--lib/ffi_yajl/benchmark/http.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ffi_yajl/benchmark/http.rb b/lib/ffi_yajl/benchmark/http.rb
index 4c61df5..771e452 100644
--- a/lib/ffi_yajl/benchmark/http.rb
+++ b/lib/ffi_yajl/benchmark/http.rb
@@ -26,7 +26,7 @@ Benchmark.bmbm { |x|
x.report {
puts "JSON.parser"
times.times {
- JSON.parse(Net::HTTP.get_response(uri).body, :max_nesting => false)
+ JSON.parse(Net::HTTP.get_response(uri).body, max_nesting: false)
}
}
}