mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-31 19:45:45 +00:00
9 lines
178 B
Ruby
9 lines
178 B
Ruby
class Matchup
|
|
attr_accessor :w1, :w2, :round, :weight_id, :boutNumber, :w1_name, :w2_name
|
|
|
|
def weight_max
|
|
@weight = Weight.find(self.weight_id)
|
|
return @weight.max
|
|
end
|
|
|
|
end |