lib/google/cloud/bigtable/column_family_map.rb in google-cloud-bigtable-1.2.2 vs lib/google/cloud/bigtable/column_family_map.rb in google-cloud-bigtable-1.3.0
- old
+ new
@@ -115,10 +115,10 @@
#
# @yield [name, column_family] The name and column family pair.
# @yieldparam [String] name the column family name.
# @yieldparam [ColumnFamily] column_family the column family object.
#
- # @return [Enumerator]
+ # @return [Enumerator,nil] An enumerator is returned if no block is given, otherwise `nil`.
#
def each
return enum_for :each unless block_given?
@column_families.each do |name, column_family_grpc|