Call const_get with implicit self
This commit is contained in:
parent
6b2677ba83
commit
111bdb4828
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ module BSD::Capsicum
|
|||
CAP_RIGHTS_VERSION,
|
||||
rightsp,
|
||||
*capabilities.flat_map { |cap|
|
||||
[ULONG_LONG, cap_all.include?(cap) ? Constants.const_get(cap) : cap]
|
||||
[ULONG_LONG, cap_all.include?(cap) ? const_get(cap) : cap]
|
||||
}
|
||||
)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue