mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
e7d207f02f
Returning the string representation instead of the instance variables of the object. Before: ```ruby IPAddr.new("127.0.0.1").to_json # => "{\"addr\":2130706433,\"family\":2,\"mask_addr\":4294967295}" ``` After: ```ruby IPAddr.new("127.0.0.1").to_json # => "\"127.0.0.1\"" ``` Fixes #40932. |
||
---|---|---|
.. | ||
decoding_test.rb | ||
encoding_test.rb | ||
encoding_test_cases.rb |