9 10 11 12 13 14 15 16
# File 'lib/manasimu/mana_type.rb', line 9 def self.all r ||= Red.new u ||= Blue.new g ||= Green.new w ||= White.new b ||= Black.new @@all ||= [r, u, g, w, b] end