1
0
Fork 0
forked from OpenNeo/impress
impress/app/models/color.rb

6 lines
150 B
Ruby

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