Class: Sh::Artist

Inherits:
Sequel::Model
  • Object
show all
Defined in:
lib/sh_database.rb

Constant Summary collapse

UNKNOWN =
1
VARIOUS =
2

Instance Method Summary collapse

Instance Method Details

#special_case?Boolean

Returns:

  • (Boolean)


124
125
126
# File 'lib/sh_database.rb', line 124

def special_case?
  return [UNKNOWN, VARIOUS].include?(id)
end

#to_sObject



128
129
130
# File 'lib/sh_database.rb', line 128

def to_s
  return name
end