Method: GoogleApps::Atom::Document.inherited
- Defined in:
- lib/google_apps/atom/document.rb
.inherited(subclass) ⇒ Object
Document keeps track of all it’s subclasses. This makes it easy to look up the document types supported by the library.
29 30 31 32 |
# File 'lib/google_apps/atom/document.rb', line 29 def self.inherited(subclass) self.add_type subclass Atom.add_doc_dispatcher self.sub_to_meth(subclass) end |