Remove SysDef
This commit is contained in:
parent
c458d0cadc
commit
bd0d8c4cd9
2 changed files with 0 additions and 16 deletions
|
@ -79,7 +79,6 @@ Init_hbsdctl(void)
|
|||
rb_cFeature = rb_const_get(rb_mControl, rb_intern("Feature")),
|
||||
rb_mFFI = rb_const_get(rb_mControl, rb_intern("FFI"));
|
||||
|
||||
rb_define_const(rb_mControl, "SysDef", INT2NUM(-1));
|
||||
rb_define_const(rb_mControl, "Disable", INT2NUM(0));
|
||||
rb_define_const(rb_mControl, "Enable", INT2NUM(1));
|
||||
rb_define_singleton_method(rb_mFFI, "available_features", ffi_available_features, 0);
|
||||
|
|
|
@ -40,21 +40,6 @@ module BSD::Control
|
|||
set!(path, BSD::Control::Disable)
|
||||
end
|
||||
|
||||
##
|
||||
# Restore system defaults.
|
||||
#
|
||||
# @param [String] path
|
||||
# The path to a file.
|
||||
#
|
||||
# @raise [BSD::Control::Error]
|
||||
# When the operation fails.
|
||||
#
|
||||
# @return [Boolean]
|
||||
# Returns true on success.
|
||||
def sysdef!(path)
|
||||
set!(path, BSD::Control::SysDef)
|
||||
end
|
||||
|
||||
# @endgroup
|
||||
|
||||
##
|
||||
|
|
Loading…
Reference in a new issue