lib/contextio/api/resource_collection.rb in contextio-1.2.0 vs lib/contextio/api/resource_collection.rb in contextio-1.2.1
- old
+ new
@@ -57,11 +57,11 @@
#
# @note Calling this method will load the collection if not already loaded.
def size
attribute_hashes.size
end
- alias :length, :size
- alias :count, :size
+ alias :length :size
+ alias :count :size
# Returns true if self contains no elements.
#
# @note Calling this method will load the collection if not already loaded.
def empty?