Alias in_capability_mode? as capability_mode?
This commit is contained in:
parent
3f14d8e998
commit
3b8dd9107a
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
module Capsicum
|
||||
require_relative "capsicum/version"
|
||||
require_relative "capsicum/libc"
|
||||
module_function
|
||||
extend self
|
||||
|
||||
##
|
||||
# Check if we're in capability mode.
|
||||
|
@ -25,6 +25,7 @@ module Capsicum
|
|||
ensure
|
||||
uintp.call_free
|
||||
end
|
||||
alias_method :capability_mode?, :in_capability_mode?
|
||||
|
||||
##
|
||||
# Enter capability mode
|
||||
|
|
Loading…
Reference in a new issue