mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-08 23:34:51 +00:00
Created integration test for poolbracket matchups
This commit is contained in:
@@ -7,7 +7,7 @@ class Matchup
|
||||
hash
|
||||
end
|
||||
|
||||
def convert_to_obj(h)
|
||||
def convert_to_obj(h)
|
||||
h.each do |k,v|
|
||||
self.class.send(:attr_accessor, k)
|
||||
instance_variable_set("@#{k}", v)
|
||||
|
||||
Reference in New Issue
Block a user