class MWS::Feeds::Collection

Public Instance Methods

each() click to toggle source
# File lib/mws/feeds/collection.rb, line 10
def each
  raise NotImplementedError
end
empty?() click to toggle source
# File lib/mws/feeds/collection.rb, line 14
def empty?
  count.zero?
end
inspect() click to toggle source
# File lib/mws/feeds/collection.rb, line 18
def inspect
  "#<#{self.class} #{if count > 3
                       "[#{take(3).map(&:inspect).join(', ')}...]"
                     else
                       "[#{map(&:inspect).join(', ')}]"
                     end}>"
end
Also aliased as: to_s
to_s()
Alias for: inspect