Class: Parser2BenchmarkYAML
- Defined in:
- lib/vendor/json_pure/benchmarks/parser2_benchmark.rb
Instance Method Summary collapse
Instance Method Details
#benchmark_parser ⇒ Object
138 139 140 |
# File 'lib/vendor/json_pure/benchmarks/parser2_benchmark.rb', line 138 def benchmark_parser @result = YAML.load(@json) end |
#generic_reset_method ⇒ Object
142 143 144 |
# File 'lib/vendor/json_pure/benchmarks/parser2_benchmark.rb', line 142 def generic_reset_method @result == @big or raise "not equal" end |