Class: RubySMB::Dcerpc::Ndr::NdrBoolean
- Inherits:
-
BinData::Uint32le
- Object
- BinData::Uint32le
- RubySMB::Dcerpc::Ndr::NdrBoolean
- Defined in:
- lib/ruby_smb/dcerpc/ndr.rb
Overview
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#assign(val) ⇒ Object
20 21 22 |
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 20 def assign(val) super(value_to_int(val)) end |
#snapshot ⇒ Object
24 25 26 |
# File 'lib/ruby_smb/dcerpc/ndr.rb', line 24 def snapshot return _value == 0 ? false : true end |