# File lib/rbrainz/utils/helper.rb, line 41 def entity_type_to_symbol(entity_type) unless entity_type.respond_to? :to_sym return entity_type end entity_type = entity_type.to_sym return entity_type.to_s.sub('-', '_').to_sym end