Class: RetroCasts::NullWebsite

Inherits:
Object
  • Object
show all
Defined in:
lib/retro_casts/null_website.rb

Instance Method Summary collapse

Instance Method Details

#collectObject



7
8
9
# File 'lib/retro_casts/null_website.rb', line 7

def collect
  self
end

#each_with_indexObject



11
12
13
# File 'lib/retro_casts/null_website.rb', line 11

def each_with_index
  RetroCasts.display("No Episodes Found")
end

#empty?Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/retro_casts/null_website.rb', line 3

def empty?
  true
end