Class: MediaArtsDb::Comic::Author
- 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) ⇒ Author
constructor
A new instance of Author.
Methods inherited from Component
#[], #content, #content_cache, #method_missing
Constructor Details
#initialize(id, content = {}, retrieved = false) ⇒ Author
Returns a new instance of Author.
111 112 113 114 |
# File 'lib/media_arts_db/comic/component.rb', line 111 def initialize(id, content = {}, retrieved = false) super(id, content, retrieved) @retriever = FindAuthor.new(@id) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class MediaArtsDb::Comic::Component