From 049637ce9ac37f807234e0f679e9da6dba48767a Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 27 Apr 2014 22:24:08 -0400 Subject: dissable sampling/double_blind --- lib/sampling/double_blind.rb | 35 ----------------------------------- lib/sampling/double_blind.rb.bak | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 35 deletions(-) delete mode 100644 lib/sampling/double_blind.rb create mode 100644 lib/sampling/double_blind.rb.bak diff --git a/lib/sampling/double_blind.rb b/lib/sampling/double_blind.rb deleted file mode 100644 index 409da10..0000000 --- a/lib/sampling/double_blind.rb +++ /dev/null @@ -1,35 +0,0 @@ -module Sampling - module DoubleBlind - def self.works_with?(game) - return true - end - - def self.uses_remote? - return false - end - - def self.set_remote_name(user, game, value) - raise "This sampling method doesn't use remote usernames." - end - - def self.get_remote_name(value) - raise "This sampling method doesn't use remote usernames." - end - - def self.sampling_start(match) - # TODO - end - - def self.sampling_done?(match) - # TODO - end - - def self.render_user_interaction(match, user) - # TODO - end - - def self.handle_user_interaction(match, user, sampling_params) - # TODO - end - end -end diff --git a/lib/sampling/double_blind.rb.bak b/lib/sampling/double_blind.rb.bak new file mode 100644 index 0000000..6a30d57 --- /dev/null +++ b/lib/sampling/double_blind.rb.bak @@ -0,0 +1,35 @@ +module Sampling + module DoubleBlind + def self.works_with?(game) + return true + end + + def can_get?(setting_name) + return 1 + end + + def self.uses_remote? + return false + end + + def self.set_remote_name(user, game, value) + raise "This sampling method doesn't use remote usernames." + end + + def self.get_remote_name(value) + raise "This sampling method doesn't use remote usernames." + end + + def self.sampling_start(match, statistics) + # TODO + end + + def self.render_user_interaction(match, user) + # TODO + end + + def self.handle_user_interaction(match, user, sampling_params) + # TODO + end + end +end -- cgit v1.2.3