lib/centaman/attribute.rb in centaman-0.1.8 vs lib/centaman/attribute.rb in centaman-0.1.9
- old
+ new
@@ -51,9 +51,10 @@
end
def age_group
return 'adult' if value.downcase.include?("adult")
return 'child' if value.downcase.include?("child")
+ return 'youth' if value.downcase.include?("youth")
return 'adult'
end
def display_age_group
age_group.capitalize