Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In `JSON#generate` and `JSON#fast_generate`: - When the given `opts` is a `JSON::State` the variable is set to `nil`. - But it will be never used as the next `if` blocks will not be executed. - `JSON::State#configure` does the conversion to `Hash`, the conversions in the `if` block are just duplication. - `JSON::State,new` does the same thing with `configure` when an argument is given.
- Loading branch information