Class: MusicBrainz::BaseModel

Inherits:
Object
  • Object
show all
Defined in:
lib/musicbrainz/models/base_model.rb

Direct Known Subclasses

Artist, Recording, Release, ReleaseGroup, Track

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.inherited(klass) ⇒ Object


3
4
5
6
# File 'lib/musicbrainz/models/base_model.rb', line 3

def self.inherited(klass)
  klass.send(:include, InstanceMethods)
  klass.send(:extend, ClassMethods)
end