about summary refs log tree commit diff stats
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/pokeviewer/pokemon.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/models/pokeviewer/pokemon.rb b/app/models/pokeviewer/pokemon.rb index f65d68e..36ed8a8 100644 --- a/app/models/pokeviewer/pokemon.rb +++ b/app/models/pokeviewer/pokemon.rb
@@ -194,6 +194,17 @@ module Pokeviewer
194 end 194 end
195 end 195 end
196 196
197 def gender_symbol
198 case gender.intern
199 when :female
200 "♀"
201 when :male
202 "♂"
203 when :genderless
204 ""
205 end
206 end
207
197 private 208 private
198 209
199 def set_uuid 210 def set_uuid