File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 22# Split's helper exposes all kinds of methods we don't want to
33# mix into our model classes.
44#
5- # This module exposes only two methods
6- # - ab_test and
7- # - ab_test_finished
5+ # This module exposes only two methods:
6+ # - ab_test()
7+ # - finished()
88# that can safely be mixed into any class.
99#
1010# Passes the instance of the class that it's mixed into to the
@@ -44,6 +44,7 @@ def ab_test(*arguments)
4444 end
4545
4646 def ab_test_finished ( *arguments )
47+ warn 'DEPRECATION WARNING: ab_test_finished is deprecated and will be removed from Split 1.5.0'
4748 split_context_shim . finished *arguments
4849 end
4950
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ def split_generically_disabled?
8787 end
8888
8989 def begin_experiment ( experiment , alternative_name = nil )
90+ warn 'DEPRECATION WARNING: begin_experiment is deprecated and will be removed from Split 1.5.0'
9091 alternative_name ||= experiment . control . name
9192 ab_user [ experiment . key ] = alternative_name
9293 alternative_name
You can’t perform that action at this time.
0 commit comments