impress/app/models/color.rb

6 lines
121 B
Ruby
Raw Normal View History

class Color < PetAttribute
fetch_objects!
Basic = %w(blue green red yellow).map { |name| find_by_name(name) }
end