Class: EndpointSecurity::CSFlags
- Inherits:
-
Data
- Object
- Data
- EndpointSecurity::CSFlags
- Defined in:
- lib/endpoint_security/object_model.rb
Overview
Code-signing status flags for a process.
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#include?(flag) ⇒ Boolean
Whether
flagis present.
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value
26 27 28 |
# File 'lib/endpoint_security/object_model.rb', line 26 def value @value end |
Instance Method Details
#include?(flag) ⇒ Boolean
Returns whether flag is present.
28 |
# File 'lib/endpoint_security/object_model.rb', line 28 def include?(flag) = value.anybits?(CS_FLAG_MASKS.fetch(flag.to_sym)) |