commit | 4502626fa7a58e7c2a7d0c829a158d87021818b3 | [log] [tgz] |
---|---|---|
author | Isaiah Peng <issaria@gmail.com> | Sat Feb 14 22:08:01 2015 +0100 |
committer | Isaiah Peng <issaria@gmail.com> | Sat Feb 14 22:15:12 2015 +0100 |
tree | a292b957903a3fed55c51d44edbed2bc1bef06e7 | |
parent | e7e79a43ed13b25232384eeeabf4089026876e9d [diff] [blame] |
Google::Protobuf::Map#inspect should be consistent with Hash#inspect
diff --git a/ruby/ext/google/protobuf_c/map.c b/ruby/ext/google/protobuf_c/map.c index 4ee71d1..12e7a9d 100644 --- a/ruby/ext/google/protobuf_c/map.c +++ b/ruby/ext/google/protobuf_c/map.c
@@ -683,7 +683,7 @@ first = false; } str = rb_str_append(str, rb_funcall(key, inspect_sym, 0)); - str = rb_str_cat2(str, " => "); + str = rb_str_cat2(str, "=>"); str = rb_str_append(str, rb_funcall(value, inspect_sym, 0)); }