Class: MediaArtsDb::Comic::Booklet

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) ⇒ Booklet

Returns a new instance of Booklet.



132
133
134
135
# File 'lib/media_arts_db/comic/component.rb', line 132

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

Dynamic Method Handling

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