Class: TurboRex::Windows::Security::AccessAllowedACE
- 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::ACCESS_ALLOWED_ACE_TYPE) ⇒ AccessAllowedACE
constructor
A new instance of AccessAllowedACE.
Methods inherited from ACE
Constructor Details
#initialize(mask, sid, flags, type = TurboRex::Windows::Constants::ACCESS_ALLOWED_ACE_TYPE) ⇒ AccessAllowedACE
Returns a new instance of AccessAllowedACE.
41 42 43 44 45 46 |
# File 'lib/turborex/windows/security/ace.rb', line 41 def initialize(mask, sid, flags, type=TurboRex::Windows::Constants::ACCESS_ALLOWED_ACE_TYPE) @mask = mask @sid = sid @short = :allowed super(type, flags) end |
Instance Attribute Details
#mask ⇒ Object (readonly)
Returns the value of attribute mask.
37 38 39 |
# File 'lib/turborex/windows/security/ace.rb', line 37 def mask @mask end |
#short ⇒ Object (readonly)
Returns the value of attribute short.
39 40 41 |
# File 'lib/turborex/windows/security/ace.rb', line 39 def short @short end |
#sid ⇒ Object (readonly)
Returns the value of attribute sid.
38 39 40 |
# File 'lib/turborex/windows/security/ace.rb', line 38 def sid @sid end |