class Collection::Set

Public Instance Methods

content() click to toggle source
# File lib/collection/set.rb, line 5
def content
  @content ||= ::Set.new
end
last() click to toggle source
# File lib/collection/set.rb, line 9
def last
  content.to_a.last
end
length() click to toggle source
# File lib/collection/set.rb, line 13
def length
  count
end
Also aliased as: size
size()
Alias for: length