summaryrefslogtreecommitdiff
path: root/lib/ffi_yajl/benchmark/parse_json_and_yaml.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-07-09 13:51:28 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-07-09 13:51:28 -0700
commitaa2afb68a78fed7a71a6d574586202a0377eba25 (patch)
tree38a1750ae150495501cfb39ade622be3822fabe3 /lib/ffi_yajl/benchmark/parse_json_and_yaml.rb
parent457842ff8567742d94cb079f439c38403a15d8b8 (diff)
downloadffi-yajl-aa2afb68a78fed7a71a6d574586202a0377eba25.tar.gz
yet more copslcg/more-cops
Diffstat (limited to 'lib/ffi_yajl/benchmark/parse_json_and_yaml.rb')
-rw-r--r--lib/ffi_yajl/benchmark/parse_json_and_yaml.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ffi_yajl/benchmark/parse_json_and_yaml.rb b/lib/ffi_yajl/benchmark/parse_json_and_yaml.rb
index 4e96e02..5076f67 100644
--- a/lib/ffi_yajl/benchmark/parse_json_and_yaml.rb
+++ b/lib/ffi_yajl/benchmark/parse_json_and_yaml.rb
@@ -31,7 +31,7 @@ Benchmark.bmbm { |x|
puts "JSON.parse"
times.times {
json.rewind
- JSON.parse(json.read, :max_nesting => false)
+ JSON.parse(json.read, max_nesting: false)
}
}
end