Class: TurboRex::Windows::Security::SystemAuditAce
- Defined in:
- lib/turborex/windows/security/ace.rb
Instance Attribute Summary collapse
-
#mask ⇒ Object
readonly
Returns the value of attribute mask.
-
#short ⇒ Object
readonly
Returns the value of attribute short.
-
#sid ⇒ Object
readonly
Returns the value of attribute sid.
Attributes inherited from ACE
Instance Method Summary collapse
-
#initialize(mask, sid, flags, type = TurboRex::Windows::Constants::SYSTEM_AUDIT_ACE_TYPE) ⇒ SystemAuditAce
constructor
A new instance of SystemAuditAce.
Methods inherited from ACE
Constructor Details
#initialize(mask, sid, flags, type = TurboRex::Windows::Constants::SYSTEM_AUDIT_ACE_TYPE) ⇒ SystemAuditAce
Returns a new instance of SystemAuditAce.
67 68 69 70 71 72 |
# File 'lib/turborex/windows/security/ace.rb', line 67 def initialize(mask, sid, flags, type=TurboRex::Windows::Constants::SYSTEM_AUDIT_ACE_TYPE) @mask = mask @sid = sid @short = :audit super(type, flags) end |
Instance Attribute Details
#mask ⇒ Object (readonly)
Returns the value of attribute mask.
63 64 65 |
# File 'lib/turborex/windows/security/ace.rb', line 63 def mask @mask end |
#short ⇒ Object (readonly)
Returns the value of attribute short.
65 66 67 |
# File 'lib/turborex/windows/security/ace.rb', line 65 def short @short end |
#sid ⇒ Object (readonly)
Returns the value of attribute sid.
64 65 66 |
# File 'lib/turborex/windows/security/ace.rb', line 64 def sid @sid end |