Class: MediaArtsDb::Comic::Magazine

Inherits:
Component
  • Object
show all
Defined in:
lib/media_arts_db/comic/component.rb

Instance Attribute Summary

Attributes inherited from Component

#id

Instance Method Summary collapse

Methods inherited from Component

#[], #content, #content_cache, #method_missing

Constructor Details

#initialize(id, content = {}, retrieved = false) ⇒ Magazine

Returns a new instance of Magazine.



96
97
98
99
# File 'lib/media_arts_db/comic/component.rb', line 96

def initialize(id, content = {}, retrieved = false)
  super(id, content, retrieved)
  @retriever = FindMagazine.new(@id)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class MediaArtsDb::Comic::Component

Instance Method Details

#nextObject



101
102
103
# File 'lib/media_arts_db/comic/component.rb', line 101

def next
  # YAGNI
end

#prevObject



105
106
107
# File 'lib/media_arts_db/comic/component.rb', line 105

def prev
  # YAGNI
end