diff options
author | Chris Fallin <cfallin@c1f.net> | 2015-02-17 13:02:32 -0600 |
---|---|---|
committer | Chris Fallin <cfallin@c1f.net> | 2015-02-17 13:02:32 -0600 |
commit | db87a9c07a5e1e82ebcf606d8254ff6acad1dce8 (patch) | |
tree | 564e35213836e947cd4734daae2777fe8ffe3e18 /ruby/ext | |
parent | 344a921a8241abc03e08d19a21daf529658deefa (diff) | |
parent | 4502626fa7a58e7c2a7d0c829a158d87021818b3 (diff) | |
download | protobuf-db87a9c07a5e1e82ebcf606d8254ff6acad1dce8.tar.gz protobuf-db87a9c07a5e1e82ebcf606d8254ff6acad1dce8.tar.bz2 protobuf-db87a9c07a5e1e82ebcf606d8254ff6acad1dce8.zip |
Merge pull request #211 from isaiah/map_inspect
Ruby implementation Map#inspect should be consistent with Hash#inspect
Diffstat (limited to 'ruby/ext')
-rw-r--r-- | ruby/ext/google/protobuf_c/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/ext/google/protobuf_c/map.c b/ruby/ext/google/protobuf_c/map.c index 4ee71d18..12e7a9d9 100644 --- a/ruby/ext/google/protobuf_c/map.c +++ b/ruby/ext/google/protobuf_c/map.c @@ -683,7 +683,7 @@ VALUE Map_inspect(VALUE _self) { 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)); } |