Method: MusicBrainz::Model::Entity#entity_type

Defined in:
lib/rbrainz/model/entity.rb

#entity_typeObject

Returns the entity type of the instance.

Depending on the class this is :artist, :release, :track or :label.



82
83
84
# File 'lib/rbrainz/model/entity.rb', line 82

def entity_type
  self.class.entity_type
end