-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Encryption
-
None
https://github.com/mongodb/mongo-ruby-driver/blob/master/lib/mongo/crypt/binary.rb#L126
The Ruby convention for converting an object to string is to use the #to_s method. We follow it in, for example, BSON::ByteBuffer.
Along this convention I propose renaming Mongo::Crypt::Binary#to_string to #to_s.