lib/google/cloud/firestore/document_snapshot.rb in google-cloud-firestore-2.2.0 vs lib/google/cloud/firestore/document_snapshot.rb in google-cloud-firestore-2.3.0
- old
+ new
@@ -51,11 +51,10 @@
#
# # Get a document reference
# nyc_ref = firestore.doc "cities/NYC"
#
# listener = nyc_ref.listen do |snapshot|
- # puts "The population of #{snapshot[:name]} "
- # puts "is #{snapshot[:population]}."
+ # puts "The population of #{snapshot[:name]} is #{snapshot[:population]}."
# end
#
# # When ready, stop the listen operation and close the stream.
# listener.stop
#