aboutsummaryrefslogtreecommitdiff
path: root/ruby/environment.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/environment.cc')
-rw-r--r--ruby/environment.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/ruby/environment.cc b/ruby/environment.cc
index 8d9d9b860..6f86ab004 100644
--- a/ruby/environment.cc
+++ b/ruby/environment.cc
@@ -415,19 +415,6 @@ namespace
/*
* call-seq:
- * accept_unstable=(true or false)
- *
- * Should we accept unstable keywords?
- */
- VALUE
- no_config_environment_set_accept_unstable(VALUE self, VALUE unstable)
- {
- value_to_no_config_environment(self)->set_accept_unstable(!(Qfalse == unstable || Qnil == unstable));
- return Qnil;
- }
-
- /*
- * call-seq:
* create(spec) -> Environment
*
* Create an environment from the given spec.
@@ -498,7 +485,6 @@ namespace
rb_define_method(c_no_config_environment, "initialize", RUBY_FUNC_CAST(&no_config_environment_init), -1);
rb_define_method(c_no_config_environment, "main_repository", RUBY_FUNC_CAST(&no_config_environment_main_repository), 0);
rb_define_method(c_no_config_environment, "master_repository", RUBY_FUNC_CAST(&no_config_environment_master_repository), 0);
- rb_define_method(c_no_config_environment, "accept_unstable=", RUBY_FUNC_CAST(&no_config_environment_set_accept_unstable), 1);
/*
* Document-class: Paludis::TestEnvironment