diff options
author | Chris Fallin <cfallin@c1f.net> | 2015-01-06 18:01:32 -0800 |
---|---|---|
committer | Chris Fallin <cfallin@c1f.net> | 2015-01-06 18:01:32 -0800 |
commit | 80276ac0218f6d8fcdbad0fb09b233b31d2bc0fb (patch) | |
tree | 9500a829302bcc5c490aeb28c0fbe77b580b424f /ruby/ext/google/protobuf_c/message.c | |
parent | fd1a3ff11d5854c34ba66c63598cdc5fd234e399 (diff) | |
download | protobuf-80276ac0218f6d8fcdbad0fb09b233b31d2bc0fb.tar.gz protobuf-80276ac0218f6d8fcdbad0fb09b233b31d2bc0fb.tar.bz2 protobuf-80276ac0218f6d8fcdbad0fb09b233b31d2bc0fb.zip |
Addressed code-review comments.
Diffstat (limited to 'ruby/ext/google/protobuf_c/message.c')
-rw-r--r-- | ruby/ext/google/protobuf_c/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/ext/google/protobuf_c/message.c b/ruby/ext/google/protobuf_c/message.c index de38dd7b..ee8881d4 100644 --- a/ruby/ext/google/protobuf_c/message.c +++ b/ruby/ext/google/protobuf_c/message.c @@ -142,7 +142,7 @@ int Message_initialize_kwarg(VALUE key, VALUE val, VALUE _self) { if (is_map_field(f)) { if (TYPE(val) != T_HASH) { rb_raise(rb_eArgError, - "Expected hashmap as initializer value for map field."); + "Expected Hash object as initializer value for map field."); } VALUE map = layout_get(self->descriptor->layout, Message_data(self), f); Map_merge_into_self(map, val); |