feature card

This commit is contained in:
2023-01-05 13:56:50 +02:00
parent 7b67a61d02
commit e68188b1a8
4 changed files with 22 additions and 16 deletions

View File

@ -20,6 +20,7 @@ module Merged
end
def ratio
return 0 unless self.height
self.width.to_f / self.height
end