Add missing self

add-tp6
Karim Bogtob 2 years ago
parent bc92a59649
commit 77e956f99d

@ -291,7 +291,7 @@ Ajoutez cette méthode à vote classe Creature :
``` ```
before_create do before_create do
size = case health_points self.size = case health_points
when 0..10 when 0..10
:small :small
when 11..30 when 11..30

Loading…
Cancel
Save