diff options
author | nfoy <nfoy@purdue.edu> | 2014-04-28 21:32:04 -0400 |
---|---|---|
committer | nfoy <nfoy@purdue.edu> | 2014-04-28 21:32:04 -0400 |
commit | 819fd70c1285bf5670b68842adad8c77c36d1076 (patch) | |
tree | 121c3161a25d3f726d6b6ccadd95e7815454a812 /app/models | |
parent | feffb3b186ad2b73bd9868a1eb24ab20f9c71507 (diff) |
All the changes. Luke should know what's up.
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/match.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/models/match.rb b/app/models/match.rb index 219e662..57b7d36 100644 --- a/app/models/match.rb +++ b/app/models/match.rb @@ -46,6 +46,12 @@ class Match < ActiveRecord::Base return html.html_safe end + def start_sampling + method_classes.each do |klass| + klass.new(self).start + end + end + private def figure_sampling_methods if @sampling_methods.nil? |