Class: Hootenanny::Feed::NullFeed

Inherits:
Hootenanny::Feed show all
Defined in:
lib/hootenanny/feed/null_feed.rb

Constant Summary

Constants inherited from Hootenanny::Feed

FEED_TYPE_MAPPINGS

Instance Method Summary collapse

Methods inherited from Hootenanny::Feed

#empty?, from_content, infer, #to_digest_feed, #type

Instance Method Details

#+(other) ⇒ Object



17
18
19
# File 'lib/hootenanny/feed/null_feed.rb', line 17

def +(other)
  other
end

#-(other) ⇒ Object



13
14
15
# File 'lib/hootenanny/feed/null_feed.rb', line 13

def -(other)
  other
end

#content_typeObject



9
10
11
# File 'lib/hootenanny/feed/null_feed.rb', line 9

def content_type
  ''
end

#itemsObject



5
6
7
# File 'lib/hootenanny/feed/null_feed.rb', line 5

def items
  []
end