Class: MediaArtsDb::Comic::Magazine
- Defined in:
- lib/media_arts_db/comic/component.rb
Instance Attribute Summary
Attributes inherited from Component
Instance Method Summary collapse
-
#initialize(id, content = {}, retrieved = false) ⇒ Magazine
constructor
A new instance of Magazine.
- #next ⇒ Object
- #prev ⇒ Object
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
#next ⇒ Object
101 102 103 |
# File 'lib/media_arts_db/comic/component.rb', line 101 def next # YAGNI end |
#prev ⇒ Object
105 106 107 |
# File 'lib/media_arts_db/comic/component.rb', line 105 def prev # YAGNI end |